From a0b8f38ab54ac451646aa00cd5e91b6c76f22a84 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:19 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/indexmap-1.9.3/build.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vendor/indexmap-1.9.3/build.rs (limited to 'vendor/indexmap-1.9.3/build.rs') diff --git a/vendor/indexmap-1.9.3/build.rs b/vendor/indexmap-1.9.3/build.rs new file mode 100644 index 000000000..9f9fa054f --- /dev/null +++ b/vendor/indexmap-1.9.3/build.rs @@ -0,0 +1,8 @@ +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"); +} -- cgit v1.2.3