rust-lang-nursery / lazy-static.rs

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

Remove the heap impl now that inline is always available #132

Closed KodrAus closed 5 years ago

KodrAus commented 5 years ago

For #131

Now that we've bumped past 1.22.0 as the minimum rustc version I think we can remove the heap_impl altogether and the infrastructure we used to detect a compatible compiler at build-time.

cc @Kimundi

KodrAus commented 5 years ago

r? @dtolnay

The build script was originally added in #103 to switch between the heap and inline impls if we happened to be on a compiler newer or equal to 1.22.0.

Also cc @anp

anp commented 5 years ago

swoon