Closed Angr1st closed 1 year ago
Hey, thanks for asking! This error is weird but is due to some bit of the test harness not being supported in no_std
. If you look in build.sh
it hacks around this:
cargo test --lib --target x86_64-unknown-linux-gnu
cargo test --doc --target x86_64-unknown-linux-gnu
Alternatively, if you'd like to just run the entire script, you can:
rustup target add thumbv7em-none-eabi
TARGET=thumbv7em-none-eabi ./build.sh
You can change thumbv7em
to thumbv6m
or whatever arch your target IC uses.
Hope that helps!
Thank you that works like a charm 👍
Hi @jamwaffles is there a way to run
cargo test
locally? I currently just get this error: