Skip to content

Commit 42b6f40

Browse files
committed
Auto merge of #122190 - matthiaskrgr:rollup-9ol4y30, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #121025 (add known-bug tests for derive failure to detect packed repr) - #121194 (Refactor pre-getopts command line argument handling) - #121563 (Use `ControlFlow` in visitors.) - #122173 (Don't ICE in CTFE if raw/fn-ptr types differ) - #122175 (Bless tidy issues order) - #122179 (rustc: Fix typo) - #122181 (Fix crash in internal late lint checking) - #122183 (interpret: update comment about read_discriminant on uninhabited variants) Failed merges: - #122076 (Tweak the way we protect in-place function arguments in interpreters) - #122132 (Diagnostic renaming 3) r? `@ghost` `@rustbot` modify labels: rollup
2 parents f8fabb4 + 487b836 commit 42b6f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub fn main() {
190190
});
191191

192192
exit(rustc_driver::catch_with_exit_code(move || {
193-
let mut orig_args: Vec<String> = env::args().collect();
193+
let mut orig_args = rustc_driver::args::raw_args(&early_dcx)?;
194194

195195
let has_sysroot_arg = |args: &mut [String]| -> bool {
196196
if arg_value(args, "--sysroot", |_| true).is_some() {

0 commit comments

Comments
 (0)