diff options
| author | Mads Marquart <mads@marquart.dk> | 2025-08-25 14:38:34 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-08-25 14:38:34 +0200 |
| commit | d262463d53be5325783ba29cc9493c4492196570 (patch) | |
| tree | 9aef9f96273a7dbde3754b20a7046fcb7bb4e17d /compiler/rustc_codegen_ssa/src/back | |
| parent | ee361e8fca1c30e13e7a31cc82b64c045339d3a8 (diff) | |
Don't show warnings from xcrun with -Zverbose-internals
These kinds of warnings can make our test suites fail, so if we want them, we'll need a different flag.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/apple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/apple.rs b/compiler/rustc_codegen_ssa/src/back/apple.rs index 2274450e20e..b1d646d9265 100644 --- a/compiler/rustc_codegen_ssa/src/back/apple.rs +++ b/compiler/rustc_codegen_ssa/src/back/apple.rs @@ -164,7 +164,7 @@ pub(super) fn get_sdk_root(sess: &Session) -> Option<PathBuf> { // // Note that when cross-compiling from e.g. Linux, the `xcrun` binary may sometimes be provided // as a shim by a cross-compilation helper tool. It usually isn't, but we still try nonetheless. - match xcrun_show_sdk_path(sdk_name, sess.verbose_internals()) { + match xcrun_show_sdk_path(sdk_name, false) { Ok((path, stderr)) => { // Emit extra stderr, such as if `-verbose` was passed, or if `xcrun` emitted a warning. if !stderr.is_empty() { |
