diff options
| author | Michael Neumann <mneumann@ntecs.de> | 2016-01-12 20:39:22 +0100 |
|---|---|---|
| committer | Michael Neumann <mneumann@ntecs.de> | 2016-01-12 20:39:22 +0100 |
| commit | d485a511d011aca349c7cda97775392981bf5d5f (patch) | |
| tree | 716798eea81f00bfa23592fb397c1d92935b53ff /src/rustllvm/RustWrapper.cpp | |
| parent | 7cffc9b1951f5e51ad19bf3b854f7afa8073aadb (diff) | |
| download | rust-d485a511d011aca349c7cda97775392981bf5d5f.tar.gz rust-d485a511d011aca349c7cda97775392981bf5d5f.zip | |
Recognize #[thread_local] on extern static. Fixes #30795.
This will correctly add the thread_local attribute to the external static
variable "errno":
extern {
#[thread_local]
static errno: c_int;
}
Before this commit, the thread_local attribute is ignored.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
