rust-lang-nursery / lazy-static.rs

A small macro for defining lazy evaluated static variables in Rust.
Apache License 2.0
1.91k stars 111 forks source link

Fix nightly build #99

Closed KodrAus closed 6 years ago

KodrAus commented 6 years ago

Based on #97

I also had a look at our compile fail tests, looks like our rustc invocations can't disambiguate between the lazy_static that ships with the Rust toolchain and the lazy_static we build locally. I've 'fixed' this up by wrapping lazy_static in a shim with a different name. It seems to work.

cc @Kimundi @superp00t

KodrAus commented 6 years ago

I'll boot into Windows and figure out what it's complaining about...

KodrAus commented 6 years ago

Ok looks like this is back to green now. It might be good to get a sanity check on my workaround. I don't think many crates will run into this problem...