Closed
Description
I just installed* miri and wanted to try it before adding a stage to the github actions.
But executing cargo +nightly miri test
on asn1rs throws the following error:
error: /tmp/cargo-target/debug/deps/libasn1rs_macros-398599e648a8b772.so: undefined symbol: miri_resolve_frame
--> asn1rs/src/lib.rs:5:1
|
5 | pub extern crate asn1rs_macros as macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
error: could not compile `asn1rs`
To learn more, run the command again with --verbose.
$ cargo +nightly miri test --version
miri 0.1.0 (12dac5c 2021-03-17)
*like that
$ rustup +nightly component add miri
$ cargo +nightly miri test
I will run `"/home/...../.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "install" "xargo"` to install a recent enough xargo. Proceed? [Y/n] y
Updating crates.io index
Downloaded xargo v0.3.22
...