diff options
| author | bors <bors@rust-lang.org> | 2016-02-25 20:37:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-02-25 20:37:38 +0000 |
| commit | 798ce4ab59ab2ca84caacc4472499409a8516db3 (patch) | |
| tree | cd4669d5cc33642d94a8a65232749e3857e5a7bc /src/rustllvm/RustWrapper.cpp | |
| parent | c9852e2e550306a738653a5d4d16cab43454776f (diff) | |
| parent | 78d954425dcf9d224b2034dd558f7958165e2877 (diff) | |
| download | rust-798ce4ab59ab2ca84caacc4472499409a8516db3.tar.gz rust-798ce4ab59ab2ca84caacc4472499409a8516db3.zip | |
Auto merge of #30856 - mneumann:thread_local_extern, r=alexcrichton
This will correctly add the thread_local attribute to the external static variable ```errno```:
```rust
extern {
#[thread_local]
static errno: c_int;
}
```
Before this commit, the thread_local attribute is ignored. Fixes #30795.
Thanks @alexcrichton for pointing out the solution.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
