mirror of
https://gitee.com/openharmony/third_party_rust_indexmap
synced 2024-11-26 22:50:32 +00:00
9 lines
291 B
Rust
9 lines
291 B
Rust
fn main() {
|
|
// If "std" is explicitly requested, don't bother probing the target for it.
|
|
match std::env::var_os("CARGO_FEATURE_STD") {
|
|
Some(_) => autocfg::emit("has_std"),
|
|
None => autocfg::new().emit_sysroot_crate("std"),
|
|
}
|
|
autocfg::rerun_path("build.rs");
|
|
}
|