diff options
Diffstat (limited to 'vendor/num-rational/build.rs')
-rw-r--r-- | vendor/num-rational/build.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/num-rational/build.rs b/vendor/num-rational/build.rs new file mode 100644 index 0000000..df5e310 --- /dev/null +++ b/vendor/num-rational/build.rs @@ -0,0 +1,8 @@ +fn main() { + let ac = autocfg::new(); + if ac.probe_expression("format!(\"{:e}\", 0_isize)") { + println!("cargo:rustc-cfg=has_int_exp_fmt"); + } + + autocfg::rerun_path("build.rs"); +} |