about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2019-10-08 17:09:23 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2019-10-08 20:34:30 +0100
commitdfe76a10935cf93fdc72abc47167691b7aa44a7f (patch)
tree55ae88ab33ff728145f86709b9527ba191069063 /src/liballoc/lib.rs
parent59a31c8c676bdc9f50490d5798b1b4e884b7d7ae (diff)
downloadrust-dfe76a10935cf93fdc72abc47167691b7aa44a7f.tar.gz
rust-dfe76a10935cf93fdc72abc47167691b7aa44a7f.zip
Split non-CAS atomic support off into target_has_atomic_load_store
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 247cd9a0201..2e3b8f25adf 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -154,7 +154,7 @@ mod boxed {
 #[cfg(test)]
 mod tests;
 pub mod collections;
-#[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
+#[cfg(target_has_atomic = "ptr")]
 pub mod sync;
 pub mod rc;
 pub mod raw_vec;