Skip to content

Commit 83727ec

Browse files
committed
don't use rustflags for --rustc-args
1 parent e08b80c commit 83727ec

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/bootstrap/src/core/builder.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,11 +2226,6 @@ impl<'a> Builder<'a> {
22262226
rustdocflags.arg("--cfg=parallel_compiler");
22272227
}
22282228

2229-
// Pass the value of `--rustc-args` from test command. If it's not a test command, this won't set anything.
2230-
self.config.cmd.rustc_args().iter().for_each(|v| {
2231-
rustflags.arg(v);
2232-
});
2233-
22342229
Cargo {
22352230
command: cargo,
22362231
compiler,

0 commit comments

Comments
 (0)