Skip to content

Commit 837ff0b

Browse files
committed
don't use rustflags for --rustc-args
1 parent d3a3939 commit 837ff0b

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
@@ -2212,11 +2212,6 @@ impl<'a> Builder<'a> {
22122212
rustdocflags.arg("--cfg=parallel_compiler");
22132213
}
22142214

2215-
// Pass the value of `--rustc-args` from test command. If it's not a test command, this won't set anything.
2216-
self.config.cmd.rustc_args().iter().for_each(|v| {
2217-
rustflags.arg(v);
2218-
});
2219-
22202215
Cargo {
22212216
command: cargo,
22222217
compiler,

0 commit comments

Comments
 (0)