rust/src/test
bors d161e630d8 auto merge of #7317 : Aatch/rust/no-drop-flag, r=thestinger
This adds a `#[no_drop_flag]` attribute. This attribute tells the compiler to omit the drop flag from the struct, if it has a destructor. When the destructor is run, instead of setting the drop flag, it instead zeroes-out the struct. This means the destructor can run multiple times and therefore it is up to the developer to use it safely.

The primary usage case for this is smart-pointer types like `Rc<T>` as the extra flag caused the struct to be 1 word larger because of alignment.

This closes #7271 and #7138
2013-06-25 07:23:06 -07:00
..
auxiliary Add 'static mut' items to the language 2013-06-23 17:59:35 -07:00
bench Updated shootout-fasta.rs copyright years, removed stuff that caused lint to complain. 2013-06-23 23:21:35 +02:00
compile-fail Support foreign 'static mut' variables as well 2013-06-23 18:00:32 -07:00
debug-info _Actually_ xfail debuginfo tests 2013-06-21 00:23:42 +12:00
pretty vec: remove BaseIter implementation 2013-06-23 02:05:20 -04:00
run-fail remove old_iter 2013-06-24 01:35:11 -04:00
run-pass auto merge of #7317 : Aatch/rust/no-drop-flag, r=thestinger 2013-06-25 07:23:06 -07:00
run-pass-fulldeps test: Update tests to use the new syntax. 2013-05-22 21:57:10 -07:00