about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorErick Tryzelaar <etryzelaar@google.com>2025-02-11 22:56:17 +0000
committerErick Tryzelaar <etryzelaar@google.com>2025-02-20 18:44:21 +0000
commit746b0f6f1d108ac641eb6157cc288402f1932d90 (patch)
tree9486c3f585803198a5e9dc3383a41479db675c33 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf280acf4c743806abbbbcfe65050ac52ec4bdec0 (diff)
downloadrust-746b0f6f1d108ac641eb6157cc288402f1932d90.tar.gz
rust-746b0f6f1d108ac641eb6157cc288402f1932d90.zip
Sync Fuchsia target spec with clang Fuchsia driver
This updates the Fuchsia target spec with the [Clang Fuchsia driver],
which picks up a few changes:

* Adds `-z start-stop-visibility=hidden` and `-z rel` to the pre link
  arguments.
* Adds `--execute-only` and `--fix-cortex-a53-843419` for
  `aarch64-unknown-fuchsia`.
* Enables the cpu features equivalent to x86-64-v2 for
  `x86_64-unknown-fuchsia`, which is our minimum supported x86_64.
  platform according to [RFC-0073].
* Enables the cpu features `+crc,+aes,+sha2,+neon` on aarch64.
* Increases the max atomic width on 86_64 to 128.
* Enables stack probes and xray on aarch64 and riscv64.

[Clang Fuchsia driver]: https://github.com/llvm/llvm-project/blob/8374d421861cd3d47e21ae7889ba0b4c498e8d85/clang/lib/Driver/ToolChains/Fuchsia.cpp
[RFC-0073]: https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0073_x86_64_platform_requirement
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions