4 Commits

Author SHA1 Message Date
David Tolnay
b886294415
Support verifying no-std support through serde_json_test
Tested with:

    cargo check \
        --manifest-path tests/crate/Cargo.toml \
        --target aarch64-unknown-none \
        --no-default-features \
        --features alloc

which fails before this commit and succeeds after.

Before this commit:

        Checking serde_json_test v0.0.0
    error[E0463]: can't find crate for `std`
      |
      = note: the `aarch64-unknown-none` target may not be installed

    error: aborting due to previous error
2020-06-04 23:12:05 -07:00
David Tolnay
c19f26a518
Update serde_json_test to 2018 edition 2020-01-22 13:43:34 -08:00
David Tolnay
7613c0443f
Enable testing cargo build on old compilers 2019-08-17 13:20:05 -07:00
David Tolnay
cc59b26045
Work around rust-lang/cargo#4664
Our dev-dependency on trybuild enables serde's "derive" feature, which
we don't want affecting `cargo build`.
2019-08-17 13:15:57 -07:00