about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/base/linux_ohos.rs
AgeCommit message (Collapse)AuthorLines
2025-04-18Use struct update syntax for some TargetOptionsThalia Archibald-8/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-03Add `warn(unreachable_pub)` to `rustc_target`.Nicholas Nethercote-1/+1
2023-12-07Add emulated TLS supportquininer-2/+2
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-08target: move base specs to spec/baseDavid Wood-0/+12
Signed-off-by: David Wood <david@davidtw.co>