matklad / once_cell

Rust library for single assignment cells and lazy statics without macros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`sync::reentrant_init` fails when using `cargo test --all-targets`

schopin-pro opened this issue · comments

For some reason, cargo test --all-targets doesn't build the examples in the same way it would without this option, which breaks the tests. I'm not sure if it is a bug in cargo itself, so I'm reporting this here.

Can no longer reproduce this, but yeah, this stuff is tricky