rust-lang/rust — pull request #18890 by luqmana (2014-11-12 01:30:55+00:00)
Title: Allow #[linkage] on any statics not just foreign statics.

This is especially useful for declaring a static with external linkage in an executable. There isn't any way to do that currently since we mark everything in an executable as internal by default.

Also, a quick fix to have the no-compiler-rt target option respected when building staticlibs as well.