Skip to content

Commit 820bb7f

Browse files
authored
Rollup merge of #145847 - madsmtm:no-xcrun-warnings, r=jieyouxu
Don't show warnings from xcrun with -Zverbose-internals These kinds of warnings can make our test suite fail spuriously, so if we want them, we'll need a different flag. This was introduced in #131477. Fixes #145543. r? apiraino ```@bors``` rollup
2 parents d196639 + d262463 commit 820bb7f

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/apple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub(super) fn get_sdk_root(sess: &Session) -> Option<PathBuf> {
164164
//
165165
// Note that when cross-compiling from e.g. Linux, the `xcrun` binary may sometimes be provided
166166
// as a shim by a cross-compilation helper tool. It usually isn't, but we still try nonetheless.
167-
match xcrun_show_sdk_path(sdk_name, sess.verbose_internals()) {
167+
match xcrun_show_sdk_path(sdk_name, false) {
168168
Ok((path, stderr)) => {
169169
// Emit extra stderr, such as if `-verbose` was passed, or if `xcrun` emitted a warning.
170170
if !stderr.is_empty() {

0 commit comments

Comments
 (0)