We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running RUSTFLAGS=-g cargo miri run does not work:
RUSTFLAGS=-g cargo miri run
error: -g and -C debuginfo both provided error: Could not compile `byteorder`.
Adding some debug printing shows that we are running the command
"rustc" "-Zalways-encode-mir" "-Zmir-emit-retag" "-Zmir-opt-level=0" "--crate-name" "byteorder" "/home/r/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.0.0/src/lib.rs" "--color" "always" "--crate-type" "lib" "--emit=dep-info,link" "-C" "debuginfo=2" "--cfg" "feature=\"default\"" "--cfg" "feature=\"std\"" "-C" "metadata=96f138114898c6b9" "-C" "extra-filename=-96f138114898c6b9" "--out-dir" "/home/r/src/rust/miri.2/test-cargo-miri/target/debug/deps" "-L" "dependency=/home/r/src/rust/miri.2/test-cargo-miri/target/debug/deps" "--cap-lints" "allow" "-g" "--sysroot" "/home/r/.cache/miri/HOST" "--cfg" "feature=\"cargo-miri\""
this, indeed, contains both -g and -C debuginfo.
-g
-C debuginfo
The text was updated successfully, but these errors were encountered:
Fixed by rust-lang/rust#60426
Sorry, something went wrong.
No branches or pull requests
Running
RUSTFLAGS=-g cargo miri run
does not work:Adding some debug printing shows that we are running the command
this, indeed, contains both
-g
and-C debuginfo
.The text was updated successfully, but these errors were encountered: