Skip to content

Commit 757c96a

Browse files
authored
Merge pull request JohnTitor/ctest2#63 from flba-eb/add_nto-iosock
Add support for alternative network stack io-sock on QNX 7.1
2 parents 3a8d90b + da90cd0 commit 757c96a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ctest/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,9 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
11351135
let env = match version {
11361136
"700" => "nto70",
11371137
"710" => "nto71",
1138-
_ => panic!("Unknown version"),
1138+
"710_iosock" => "nto71_iosock",
1139+
"800" => "nto80",
1140+
_ => panic!("Unknown version: {version}"),
11391141
};
11401142
("nto", "unix", env)
11411143
} else if target.contains("linux-ohos") {

0 commit comments

Comments
 (0)