We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rustc_driver::args::raw_args()
1 parent 48f30d9 commit e5ffba2Copy full SHA for e5ffba2
src/tools/clippy/src/driver.rs
@@ -191,7 +191,7 @@ pub fn main() {
191
});
192
193
exit(rustc_driver::catch_with_exit_code(move || {
194
- let mut orig_args: Vec<String> = env::args().collect();
+ let mut orig_args = rustc_driver::args::raw_args(&early_dcx)?;
195
196
let has_sysroot_arg = |args: &mut [String]| -> bool {
197
if arg_value(args, "--sysroot", |_| true).is_some() {
0 commit comments