about summary refs log tree commit diff
path: root/library/std/src/net
diff options
context:
space:
mode:
authorNicole LeGare <legare@google.com>2025-02-04 23:02:00 +0000
committerNicole L <dlegare.1001@gmail.com>2025-03-10 10:00:25 -0700
commit22fea97c9d799a6246620d557b55c1c8094e3fc9 (patch)
tree498af4a083846c366d85ccaa6135ffebb2de2bae /library/std/src/net
parentd633d8e074512fde1b1e7507ae758c8a7f96639b (diff)
downloadrust-22fea97c9d799a6246620d557b55c1c8094e3fc9.tar.gz
rust-22fea97c9d799a6246620d557b55c1c8094e3fc9.zip
Disable unsupported tests
Unclear why this needs to be done manually and is not done by the existing Trusty patches.
Diffstat (limited to 'library/std/src/net')
-rw-r--r--library/std/src/net/tcp.rs3
-rw-r--r--library/std/src/net/udp.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/library/std/src/net/tcp.rs b/library/std/src/net/tcp.rs
index 9b68f872955..6a951426407 100644
--- a/library/std/src/net/tcp.rs
+++ b/library/std/src/net/tcp.rs
@@ -5,7 +5,8 @@
     not(any(
         target_os = "emscripten",
         all(target_os = "wasi", target_env = "p1"),
-        target_os = "xous"
+        target_os = "xous",
+        target_os = "trusty",
     ))
 ))]
 mod tests;
diff --git a/library/std/src/net/udp.rs b/library/std/src/net/udp.rs
index 3eb798ad34a..a97b3299774 100644
--- a/library/std/src/net/udp.rs
+++ b/library/std/src/net/udp.rs
@@ -4,7 +4,8 @@
         target_os = "emscripten",
         all(target_os = "wasi", target_env = "p1"),
         target_env = "sgx",
-        target_os = "xous"
+        target_os = "xous",
+        target_os = "trusty",
     ))
 ))]
 mod tests;