Change Arc to use compare_exchange instead of compare_and_swap

This commit is contained in:
Amanieu d'Antras
2016-03-31 13:15:20 +01:00
parent 30a3849f22
commit 9a28d4edc9
2 changed files with 21 additions and 17 deletions

View File

@@ -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))]