Previously I replied incorrectly to the mail, so I'm replying to it anew just to show how the discussion went from here on. Still learning mailing lists, sorry.
These are the missing posts: On 2013-11-12, at 21:42, Corey Richardson <[email protected]> wrote: > On Tue, Nov 12, 2013 at 2:39 PM, Tommi <[email protected]> wrote: >> I didn't think it would be optimized out of the library code. What I meant >> was: would the static item be optimized out if the end-user statically links >> to a library where is some 'pub static' item, which the end-user's code >> never directly nor indirectly uses? >> > > We do not have static linking or LTO, so not. But, once we do, there's > no reason it wouldn't be. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
