From b84c6cd2dba5464c9c72006ea5c3b8df196060d6 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Wed, 29 May 2024 01:10:32 +0800 Subject: [PATCH] Remove cargo::rustc-check-cfg from build.rs --- build.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.rs b/build.rs index 27bf79d..ffeff06 100644 --- a/build.rs +++ b/build.rs @@ -187,13 +187,11 @@ fn main() { let min_version = Version::new(1, 80, 0); let current_version = { - // rmeove prerelease tag for now, if it exists + // remove prerelease tag for now, if it exists. let vers = version().unwrap(); Version::new(vers.major, vers.minor, vers.patch) }; - // only stable in nightly versions for 1.80 and above - println!("cargo::rustc-check-cfg=cfg(armsimd)"); if current_version >= min_version { println!("cargo::rustc-cfg=armsimd"); }