don't use rustflags for --rustc-args
This commit is contained in:
parent
e08b80c0fb
commit
83727eca21
@ -2226,11 +2226,6 @@ fn cargo(
|
||||
rustdocflags.arg("--cfg=parallel_compiler");
|
||||
}
|
||||
|
||||
// Pass the value of `--rustc-args` from test command. If it's not a test command, this won't set anything.
|
||||
self.config.cmd.rustc_args().iter().for_each(|v| {
|
||||
rustflags.arg(v);
|
||||
});
|
||||
|
||||
Cargo {
|
||||
command: cargo,
|
||||
compiler,
|
||||
|
Loading…
Reference in New Issue
Block a user