Closed
Description
I am trying to pass pre-link-arg
s and link-arg
s to Rustc using Cargo. These dynamic an hence cannot be in the Cargo.toml
. Since they contain spaces, I cannot use CARGO_RUSTC_FLAGS
. If cargo had an option as --rustc-arg=
, it would be possible to pass (multiple) arguments through to Rust, even if some would contain spaces. This could be useful for passing library paths, too.