about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-06-11 22:31:02 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-06-17 11:44:00 -0700
commitcad760b7703a961e5dbe7b02966c8dd5df742431 (patch)
tree343f2bc13eff3dd87f2bdbf74c74522e8521a952 /src/rustllvm/RustWrapper.cpp
parentdb298145c702c49e5f3cc17adeafe58c8b1bbd6a (diff)
downloadrust-cad760b7703a961e5dbe7b02966c8dd5df742431.tar.gz
rust-cad760b7703a961e5dbe7b02966c8dd5df742431.zip
librustc: Make addresses of immutable statics insignificant unless
`#[inline(never)]` is used.

Closes #8958.

This can break some code that relied on the addresses of statics
being distinct; add `#[inline(never)]` to the affected statics.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions