Skip to content

Commit 1bc65df

Browse files
committed
fix: don't use periods in target names
See rust-lang/rust#104523
1 parent 13e476e commit 1bc65df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ctest/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,8 +1130,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11301130
.map(|i| &target[i + before_env.len()..])
11311131
.unwrap();
11321132
let env = match version {
1133-
"7.1.0" => "nto71",
1134-
_ => panic!("Uknown version"),
1133+
"710" => "nto71",
1134+
_ => panic!("Unknown version"),
11351135
};
11361136
("nto", "unix", env)
11371137
} else {

0 commit comments

Comments
 (0)