You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo build will fail when passing RUSTFLAGS like --print sysroot, --print native-static-libs, etc.
I guess cargo will read stdout for other purposes?
For example:
$ cargo new hello_world --bin
Created binary (application) `hello_world` project
$ cd hello_world
$ RUSTFLAGS="--print sysroot" cargo build
error: unexpected character in cfg `/`, expected parens, a comma, an identifier, or a string