<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_target/src/spec/base/linux_ohos.rs, branch 1.82.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.82.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.82.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-06T16:21:32+00:00</updated>
<entry>
<title>Add emulated TLS support</title>
<updated>2023-12-06T16:21:32+00:00</updated>
<author>
<name>quininer</name>
<email>quininer@live.com</email>
</author>
<published>2023-11-13T12:48:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e5b76892cc5e6fbfb495bf6a7339962a287849a7'/>
<id>urn:sha1:e5b76892cc5e6fbfb495bf6a7339962a287849a7</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>target: move base specs to spec/base</title>
<updated>2023-11-08T06:15:26+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2023-11-08T06:15:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76aa83e3e13bf23168389699ca69c59d7a79a336'/>
<id>urn:sha1:76aa83e3e13bf23168389699ca69c59d7a79a336</id>
<content type='text'>
Signed-off-by: David Wood &lt;david@davidtw.co&gt;
</content>
</entry>
</feed>
