about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-04-01 01:46:06 -0700
committerbors <bors@rust-lang.org>2016-04-01 01:46:06 -0700
commitb0d31707cc849bd385ae8677823d1f2bcc8aba41 (patch)
treed368a3f3284a3d7bb932bf6745deb0f279ea2387 /src/liballoc/lib.rs
parent53498eca50e25d8a11f9dc5859770715fa906fa7 (diff)
parent9a28d4edc9375e5bf606c453d1e03a45ae8be0af (diff)
downloadrust-b0d31707cc849bd385ae8677823d1f2bcc8aba41.tar.gz
rust-b0d31707cc849bd385ae8677823d1f2bcc8aba41.zip
Auto merge of #32643 - Amanieu:arc_compare_exchange, r=alexcrichton
Change Arc to use compare_exchange instead of compare_and_swap

This should slightly improve code generation on architectures with a weak memory model like ARM.
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0293d5402c4..c2dad9a1ae4 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -90,6 +90,7 @@
 #![feature(unique)]
 #![feature(unsafe_no_drop_flag, filling_drop)]
 #![feature(unsize)]
+#![feature(extended_compare_and_swap)]
 
 #![cfg_attr(not(test), feature(raw, fn_traits, placement_new_protocol))]
 #![cfg_attr(test, feature(test, box_heap))]