about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/lib.rs
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2024-08-21 17:23:50 +0200
committerMads Marquart <mads@marquart.dk>2024-09-09 13:57:17 +0200
commitdd35398545006f5ad4da8fc2ef0190c55ffda29c (patch)
tree4aedb8fcc2d053cc00cb9646a157ad94af3a063e /compiler/rustc_resolve/src/lib.rs
parent1f44f0a66fa0892ca680a26e271d22993d53de5c (diff)
downloadrust-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