From 73bdfec010ca59ed673df24b1946c338453f7f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Wed, 5 Aug 2026 16:47:33 +0200 Subject: [PATCH] Add support for bare rustc invocation with `--print-sysroot` --- collector/src/bin/rustc-fake.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/src/bin/rustc-fake.rs b/collector/src/bin/rustc-fake.rs index 7c2090645..aa15a78ed 100644 --- a/collector/src/bin/rustc-fake.rs +++ b/collector/src/bin/rustc-fake.rs @@ -439,7 +439,7 @@ fn main() { // ... but not if we're just getting the rustc version. if !args .iter() - .any(|arg| arg == "-vV" || arg == "--print=file-names") + .any(|arg| arg == "-vV" || arg == "--print=file-names" || arg == "--print=sysroot") { eprintln!("{tool:?} {args:?}"); eprintln!("exiting -- non-wrapped rustc");