1
Fork 0
rust/compiler/rustc_codegen_ssa/src/back
Yuki Okushi a3c060c7f5
Rollup merge of #80215 - visigoth:issue-80202-fix, r=estebank
Use -target when linking binaries for Mac Catalyst

When running `rustc` with `-target x86_64-apple-ios-macabi`, the linker
eventually gets run with `-arch x86_64`, because the linker back end splits the
LLVM target triple and uses the first token as the target architecture. However,
this does not work for the Mac Catalyst ABI, which is a separate target from
Darwin.

Specifying the full target triple with `-target` allows Mac Catalyst binaries to
link and run.

closes #80202
2021-01-29 09:17:29 +09:00
..
rpath mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
archive.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
command.rs Instruct lld that our @ files are posix-style, not Windows 2020-10-05 08:01:44 -04:00
link.rs Rollup merge of #80215 - visigoth:issue-80202-fix, r=estebank 2021-01-29 09:17:29 +09:00
linker.rs Add wasi-exec-model cg option for emitting wasi reactors 2021-01-08 13:09:40 -06:00
lto.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mod.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rpath.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
symbol_export.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
write.rs rustc: Stabilize -Zrun-dsymutil as -Csplit-debuginfo 2021-01-28 08:51:11 -08:00