1
Fork 0
rust/compiler/rustc_target/src
Matthias Krüger 7fe9597775
Rollup merge of #105123 - BlackHoleFox:fixing-the-macos-deployment, r=oli-obk
Fix passing MACOSX_DEPLOYMENT_TARGET to the linker

I messed up in https://github.com/rust-lang/rust/pull/103929 when merging the two base files together and as a result, started ignoring `MACOSX_DEPLOYMENT_TARGET` at the linker level. This ended up being the cause of nighty builds not running on older macOS versions.

My original hope with the previous PR was that CI would have caught something like that but there were only tests checking the compiler target definitions in codegen tests. Because of how badly this sucks to break, I put together a new test via `run-make` that actually confirms the deployment target set makes it to the linker instead of just LLVM.

Closes https://github.com/rust-lang/rust/issues/104570 (for real this time)
2022-12-04 11:38:51 +01:00
..
abi Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
asm Remove unused StableMap and StableSet types from rustc_data_structures 2022-07-20 13:11:39 +02:00
spec Rollup merge of #105123 - BlackHoleFox:fixing-the-macos-deployment, r=oli-obk 2022-12-04 11:38:51 +01:00
json.rs Improve generating Custom entry function 2022-11-11 01:04:39 +05:30
lib.rs move things from rustc_target::abi to rustc_abi 2022-11-24 16:26:13 +03:30
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00