Skip to content

Commit 0c696e2

Browse files
fix(build): make rustc error msg a little better
1 parent edd7308 commit 0c696e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn check_rustc_version(step: &Step) -> Result<String, Error> {
1818
if mv < 30 {
1919
return Err(Error::RustcVersion {
2020
message: format!(
21-
"Your version of Rust, '{}', is not supported. Please install Rust version 1.30.0 or higher.",
21+
"Your version of Rust, '1.{}', is not supported. Please install Rust version 1.30.0 or higher.",
2222
mv.to_string()
2323
),
2424
local_minor_version: mv.to_string(),

0 commit comments

Comments
 (0)