mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-25 12:40:31 +01:00
11 lines
275 B
Rust
11 lines
275 B
Rust
use autocfg::AutoCfg;
|
|
|
|
fn main() {
|
|
// To avoid bumping MSRV unnecessarily, we can sniff certain features. Reevaluate this on major
|
|
// releases.
|
|
let ac = AutoCfg::new().unwrap();
|
|
ac.emit_has_path("std::sync::LazyLock");
|
|
|
|
autocfg::rerun_path("build.rs");
|
|
}
|