about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/base
AgeCommit message (Collapse)AuthorLines
2023-12-14Auto merge of #118491 - cuviper:aarch64-stack-probes, r=wesleywiserbors-2/+11
Enable stack probes on aarch64 for LLVM 18 I tested this on `aarch64-unknown-linux-gnu` with LLVM main (~18). cc #77071, to be closed once we upgrade our LLVM submodule.
2023-12-12Set the `StackProbeType` in `apple::opts`Josh Stone-2/+11
2023-12-07Add emulated TLS supportquininer-4/+6
Currently LLVM uses emutls by default for some targets (such as android, openbsd), but rust does not use it, because `has_thread_local` is false. This commit has some changes to allow users to enable emutls: 1. add `-Zhas-thread-local` flag to specify that std uses `#[thread_local]` instead of pthread key. 2. when using emutls, decorate symbol names to find thread local symbol correctly. 3. change `-Zforce-emulated-tls` to `-Ztls-model=emulated` to explicitly specify whether to generate emutls.
2023-11-15Add arm64e-apple-ios targetArtyom Tetyukhin-15/+29
2023-11-08targets: move target specs to spec/targetsDavid Wood-1/+1
Signed-off-by: David Wood <david@davidtw.co>
2023-11-08target: move base specs to spec/baseDavid Wood-0/+1792
Signed-off-by: David Wood <david@davidtw.co>