Skip to content

Commit

Permalink
Merge pull request #49 from Amanieu/ohos
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor authored Mar 6, 2023
2 parents dbc023a + 1d1af22 commit e6b5909
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
_ => panic!("Unknown version"),
};
("nto", "unix", env)
} else if target.contains("linux-ohos") {
("linux", "unix", "ohos")
} else {
panic!("unknown os/family: {}", target)
};
Expand Down

0 comments on commit e6b5909

Please sign in to comment.