about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-25 20:37:38 +0000
committerbors <bors@rust-lang.org>2016-02-25 20:37:38 +0000
commit798ce4ab59ab2ca84caacc4472499409a8516db3 (patch)
treecd4669d5cc33642d94a8a65232749e3857e5a7bc /src/rustllvm/RustWrapper.cpp
parentc9852e2e550306a738653a5d4d16cab43454776f (diff)
parent78d954425dcf9d224b2034dd558f7958165e2877 (diff)
downloadrust-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