blob: c850272236ce03bf17e03ed4ccabd385a1d2c5f6 [file] [log] [blame]
use std::process::exit;
const MIN_SUPPORTED_VERSION: &str = "1.34.0";
fn main() {
match version_check::is_min_version(MIN_SUPPORTED_VERSION) {
Some(true) => {}
_ => {
// rustc version too small or can't figure it out
eprintln!(
"rustc >= {} is required for test-case to compile",
MIN_SUPPORTED_VERSION
);
exit(1);
}
}
}