Skip to content

Commit

Permalink
Add note to build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 31, 2020
1 parent b5a423a commit 4d290fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use std::{env, fs, path::PathBuf};

// The rustc-cfg strings below are *not* public API. Please let us know by
// opening a GitHub issue if your build environment requires some way to enable
// these cfgs other than by executing our build script.
fn main() {
println!("cargo:rustc-cfg=const_fn_has_build_script");

Expand Down

0 comments on commit 4d290fd

Please sign in to comment.