Skip to content

Commit 4b2c896

Browse files
committed
Delete rustc minimum version check from build.rs
Now enforced by `rust-version` in Cargo.toml.
1 parent 72fc798 commit 4b2c896

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

build.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
// 1.57+.
3636

3737
use std::env;
38-
use std::process::{self, Command};
38+
use std::process::Command;
3939
use std::str;
4040
use std::u32;
4141

@@ -47,11 +47,6 @@ fn main() {
4747
nightly: false,
4848
});
4949

50-
if version.minor < 31 {
51-
eprintln!("Minimum supported rustc version is 1.31");
52-
process::exit(1);
53-
}
54-
5550
let docs_rs = env::var_os("DOCS_RS").is_some();
5651
let semver_exempt = cfg!(procmacro2_semver_exempt) || docs_rs;
5752
if semver_exempt {

0 commit comments

Comments
 (0)