summaryrefslogtreecommitdiffstats
path: root/third_party/rust/crossbeam-epoch-0.8.2/build.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/rust/crossbeam-epoch-0.8.2/build.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/crossbeam-epoch-0.8.2/build.rs b/third_party/rust/crossbeam-epoch-0.8.2/build.rs
new file mode 100644
index 0000000000..d451c24b2f
--- /dev/null
+++ b/third_party/rust/crossbeam-epoch-0.8.2/build.rs
@@ -0,0 +1,8 @@
+extern crate autocfg;
+
+fn main() {
+ let cfg = autocfg::new();
+ if cfg.probe_rustc_version(1, 31) {
+ println!("cargo:rustc-cfg=has_min_const_fn");
+ }
+}