Skip to content

Commit

Permalink
fix: don't use periods in target names
Browse files Browse the repository at this point in the history
  • Loading branch information
flba-eb committed Dec 6, 2022
1 parent 1afc850 commit 7b3154c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
.map(|i| &target[i + before_env.len()..])
.unwrap();
let env = match version {
"7.1.0" => "nto71",
_ => panic!("Uknown version"),
"710" => "nto71",
_ => panic!("Unknown version"),
};
("nto", "unix", env)
} else {
Expand Down

0 comments on commit 7b3154c

Please sign in to comment.