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

using the stable spin's once implementation #130

Closed brunoczim closed 5 years ago

brunoczim commented 5 years ago

I am opening a different pull request since this is different from #122 We should now be able to have no_std lazy_static with stable Rust.

KodrAus commented 5 years ago

Thanks @brunoczim!

Would you also like to update our .travis.yml so that we check this feature on the latest stable too:

matrix:
  include:
    - rust: stable
      script:
        - cargo test
        - cargo test --features spin_no_std
brunoczim commented 5 years ago

Done.

Please tell me if I did something wrong with travis. I am more used to gitlab CI :P