about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMichael Neumann <mneumann@ntecs.de>2016-01-12 20:39:22 +0100
committerMichael Neumann <mneumann@ntecs.de>2016-01-12 20:39:22 +0100
commitd485a511d011aca349c7cda97775392981bf5d5f (patch)
tree716798eea81f00bfa23592fb397c1d92935b53ff /src/rustllvm/RustWrapper.cpp
parent7cffc9b1951f5e51ad19bf3b854f7afa8073aadb (diff)
downloadrust-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