mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

This is more in-line with what Apple's tooling expects, and allows us to better support custom compiler drivers (such as certain Homebrew and Nixpkgs compilers) that prefer their own `-isysroot` flag. Effectively, we now invoke the compiler driver as-if it was invoked as `xcrun -sdk $sdk_name $tool`.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.