rust/src/test
bors d1c05504ba auto merge of #9130 : alexcrichton/rust/inline-globals, r=thestinger
In #8185 cross-crate condition handlers were fixed by ensuring that globals
didn't start appearing in different crates with different addressed. An
unfortunate side effect of that pull request is that constants weren't inlined
across crates (uint::bits is unknown to everything but libstd).

This commit fixes this inlining by using the `available_eternally` linkage
provided by LLVM. It partially reverts #8185, and then adds support for this
linkage type. The main caveat is that not all statics could be inlined into
other crates. Before this patch, all statics were considered "inlineable items",
but an unfortunate side effect of how we deal with `&static` and `&[static]`
means that these two cases cannot be inlined across crates. The translation of
constants was modified to propogate this condition of whether a constant
should be considered inlineable into other crates.

Closes #9036
2013-09-16 23:45:49 -07:00
..
auxiliary auto merge of #9130 : alexcrichton/rust/inline-globals, r=thestinger 2013-09-16 23:45:49 -07:00
bench Remove {uint,int,u64,i64,...}::from_str,from_str_radix 2013-09-15 14:29:16 +02:00
codegen
compile-fail Document all of the format! related macros 2013-09-15 01:09:00 -07:00
debug-info debuginfo: Fix style nits for pull request. 2013-09-15 12:28:25 +02:00
pretty
run-fail make ! support the equality/ordering operators 2013-09-13 17:31:59 -04:00
run-pass auto merge of #9130 : alexcrichton/rust/inline-globals, r=thestinger 2013-09-16 23:45:49 -07:00
run-pass-fulldeps