about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorAlex Newman <posix4e@gmail.com>2015-06-30 20:37:11 -0700
committerAlex Newman <posix4e@gmail.com>2015-07-01 19:09:14 -0700
commit0b7c4f57f6ba59dabe4db2808fe45e8bd8bbce22 (patch)
tree478355371ea4647da904962c0561350b029ae29c /src/libstd/thread
parentd2cf9f9632746701f72ded3a50de2c5d8e05b1b5 (diff)
downloadrust-0b7c4f57f6ba59dabe4db2808fe45e8bd8bbce22.tar.gz
rust-0b7c4f57f6ba59dabe4db2808fe45e8bd8bbce22.zip
Add netbsd amd64 support
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/scoped_tls.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/thread/scoped_tls.rs b/src/libstd/thread/scoped_tls.rs
index 679902ec7ab..c2fad0aa89c 100644
--- a/src/libstd/thread/scoped_tls.rs
+++ b/src/libstd/thread/scoped_tls.rs
@@ -104,6 +104,7 @@ macro_rules! __scoped_thread_local_inner {
         #[cfg_attr(not(any(windows,
                            target_os = "android",
                            target_os = "ios",
+                           target_os = "netbsd",
                            target_os = "openbsd",
                            target_arch = "aarch64")),
                    thread_local)]
@@ -215,6 +216,7 @@ impl<T> ScopedKey<T> {
 #[cfg(not(any(windows,
               target_os = "android",
               target_os = "ios",
+              target_os = "netbsd",
               target_os = "openbsd",
               target_arch = "aarch64",
               no_elf_tls)))]
@@ -238,6 +240,7 @@ mod imp {
 #[cfg(any(windows,
           target_os = "android",
           target_os = "ios",
+          target_os = "netbsd",
           target_os = "openbsd",
           target_arch = "aarch64",
           no_elf_tls))]