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 7232291 commit 668ea5aCopy full SHA for 668ea5a
src/tools/clippy/src/driver.rs
@@ -190,7 +190,7 @@ pub fn main() {
190
});
191
192
exit(rustc_driver::catch_with_exit_code(move || {
193
- let mut orig_args: Vec<String> = env::args().collect();
+ let mut orig_args = rustc_driver::args::raw_args(&early_dcx)?;
194
195
let has_sysroot_arg = |args: &mut [String]| -> bool {
196
if arg_value(args, "--sysroot", |_| true).is_some() {
0 commit comments