diff options
| author | bors <bors@rust-lang.org> | 2016-04-01 01:46:06 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-01 01:46:06 -0700 |
| commit | b0d31707cc849bd385ae8677823d1f2bcc8aba41 (patch) | |
| tree | d368a3f3284a3d7bb932bf6745deb0f279ea2387 /src/liballoc/lib.rs | |
| parent | 53498eca50e25d8a11f9dc5859770715fa906fa7 (diff) | |
| parent | 9a28d4edc9375e5bf606c453d1e03a45ae8be0af (diff) | |
| download | rust-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.rs | 1 |
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))] |
