Skip to content

Commit 7e03175

Browse files
authored
Merge pull request JohnTitor/ctest2#49 from Amanieu/ohos
2 parents 633a79a + 7b61763 commit 7e03175

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ctest/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11341134
_ => panic!("Unknown version"),
11351135
};
11361136
("nto", "unix", env)
1137+
} else if target.contains("linux-ohos") {
1138+
("linux", "unix", "ohos")
11371139
} else {
11381140
panic!("unknown os/family: {}", target)
11391141
};

0 commit comments

Comments
 (0)