mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-11 03:57:41 +02:00
FIX: We require Rust 1.45.0 due to use of strip_prefix() from the Rust str_strip feature.
This commit is contained in:
@@ -3,9 +3,9 @@ use rustc_version::{version, Version};
|
||||
|
||||
fn main() {
|
||||
let version = version().expect("Failed to get rustc version.");
|
||||
if version < Version::parse("1.43.0").unwrap() {
|
||||
if version < Version::parse("1.45.0").unwrap() {
|
||||
eprintln!(
|
||||
"\n\nAt least Rust version 1.43 is required.\n\
|
||||
"\n\nAt least Rust version 1.45 is required.\n\
|
||||
Version {} is used for building.\n\
|
||||
Build aborted.\n\n",
|
||||
version
|
||||
|
||||
Reference in New Issue
Block a user