Hi there. I've got a nostd
staticlib
project and I was hoping to be able to run doc and unit tests for it. My goal isn't to run the tests on the target hardware, but locally given the desire to test logic only.
Is this possible? If I try to cargo test
on my project then I receive:
error[E0463]: can't find crate for `test`
I'm presuming that this has something to do with declaring nostd
. I note that the cortex-m project is able to run tests (I cloned and tested), yet it also declares nostd
.
Thanks for any help.