You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"./x.py test mir-opt --bless" no longer works #125365
mir-opt --bless does build std for a bunch of foreign targets, but that used to work, so something must have changed, and now xcrun is required. I'm not even sure where that error comes from, Failed to find tool does not occur as a string in the Rust repository...
But this can't be a build script, right? bootstrap must be calling cc directly but then printing its errors without giving any context. Cc @rust-lang/bootstrap
In general, the mir-opt test setup is designed to dodge any use of the cc crate, because the whole strategy of the mir-opt tests is oriented around not needing a C toolchain.
Activity
RalfJung commentedon May 21, 2024
xcrunseems to be some macOS/Apple SDK tool.mir-opt --blessdoes build std for a bunch of foreign targets, but that used to work, so something must have changed, and nowxcrunis required. I'm not even sure where that error comes from,Failed to find tooldoes not occur as a string in the Rust repository...Cc @saethlin
RalfJung commentedon May 21, 2024
Maybe #122504 is related?
xcrunappears in the discussion there, and this line here looks like it may be the one printing the error. Cc @jfgoog @NobodyXuBut this can't be a build script, right? bootstrap must be calling
ccdirectly but then printing its errors without giving any context. Cc @rust-lang/bootstrapsaethlin commentedon May 21, 2024
In general, the mir-opt test setup is designed to dodge any use of the
cccrate, because the whole strategy of the mir-opt tests is oriented around not needing a C toolchain.saethlin commentedon May 21, 2024
I've posted a fix in #125369. It seems to work locally.
Rollup merge of rust-lang#125369 - saethlin:synthetic-targets-dont-cc…
Rollup merge of rust-lang#125369 - saethlin:synthetic-targets-dont-cc…
Rollup merge of rust-lang#125369 - saethlin:synthetic-targets-dont-cc…
Unrolled build for rust-lang#125369