Build script rustc-cfg strings are not public API

This commit is contained in:
David Tolnay 2018-05-26 17:23:09 -07:00
parent 06d8a44f18
commit 8b4f9c47c4
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -2,6 +2,9 @@ use std::env;
use std::process::Command;
use std::str::{self, FromStr};
// 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 minor = match rustc_minor_version() {
Some(minor) => minor,