Skip to content

Commit

Permalink
consider cfg as private
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed May 11, 2021
1 parent f662147 commit f7f1b95
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions valuable/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,9 @@ use std::env;

include!("no_atomic_cas.rs");

// The rustc-cfg listed below are considered public API, but it is *unstable*
// and outside of the normal semver guarantees:
//
// - `valuable_no_atomic_cas`
// Assume the target does *not* support atomic CAS operations.
// This is usually detected automatically by the build script, but you may
// need to enable it manually when building for custom targets or using
// non-cargo build systems that don't run the build script.
//
// With the exceptions mentioned above, 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.
// 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() {
let target = match env::var("TARGET") {
Ok(target) => target,
Expand Down

0 comments on commit f7f1b95

Please sign in to comment.