Closed DaughterOfMars closed 1 year ago
The serde dependency used default features, which includes std, thus breaking no_std.
serde
std
Additionally, the [dev-dependencies] also cause the build to fail on no_std targets. A new resolver is added to resolve this.
[dev-dependencies]
no_std
Choose a type of change, and delete any options that are not relevant.
Build using
cargo build --target riscv64gc-unknown-none-elf
with various feature combinations. Note that the random feature will not build on some targets, including the above.
random
Description of change
The
serde
dependency used default features, which includesstd
, thus breaking no_std.Additionally, the
[dev-dependencies]
also cause the build to fail onno_std
targets. A new resolver is added to resolve this.Type of change
Choose a type of change, and delete any options that are not relevant.
How the change has been tested
Build using
with various feature combinations. Note that the
random
feature will not build on some targets, including the above.