Skip to content

Commit 87f9404

Browse files
committed
Disable unsupported tests
Unclear why this needs to be done manually and is not done by the existing Trusty patches.
1 parent 6685634 commit 87f9404

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

library/std/src/fs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
target_os = "emscripten",
1515
target_os = "wasi",
1616
target_env = "sgx",
17-
target_os = "xous"
17+
target_os = "xous",
18+
target_os = "trusty",
1819
))
1920
))]
2021
mod tests;

library/std/src/net/tcp.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
not(any(
66
target_os = "emscripten",
77
all(target_os = "wasi", target_env = "p1"),
8-
target_os = "xous"
8+
target_os = "xous",
9+
target_os = "trusty",
910
))
1011
))]
1112
mod tests;

library/std/src/net/udp.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
target_os = "emscripten",
55
all(target_os = "wasi", target_env = "p1"),
66
target_env = "sgx",
7-
target_os = "xous"
7+
target_os = "xous",
8+
target_os = "trusty",
89
))
910
))]
1011
mod tests;

library/std/src/process.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@
154154
target_os = "emscripten",
155155
target_os = "wasi",
156156
target_env = "sgx",
157-
target_os = "xous"
157+
target_os = "xous",
158+
target_os = "trusty",
158159
))
159160
))]
160161
mod tests;

0 commit comments

Comments
 (0)