diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-08-21 17:23:50 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2024-09-09 13:57:17 +0200 |
| commit | dd35398545006f5ad4da8fc2ef0190c55ffda29c (patch) | |
| tree | 4aedb8fcc2d053cc00cb9646a157ad94af3a063e /compiler/rustc_resolve/src/lib.rs | |
| parent | 1f44f0a66fa0892ca680a26e271d22993d53de5c (diff) | |
| download | rust-dd35398545006f5ad4da8fc2ef0190c55ffda29c.tar.gz rust-dd35398545006f5ad4da8fc2ef0190c55ffda29c.zip | |
Pass deployment target when linking with cc on Apple targets
When linking macOS targets with cc, pass the `-mmacosx-version-min=.` option to specify the desired deployment target. Also, no longer pass `-m32`/`-m64`, these are redundant since we already pass `-arch`. When linking with cc on other Apple targets, always pass `-target`. (We assume for these targets that cc => clang).
Diffstat (limited to 'compiler/rustc_resolve/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
