about summary refs log tree commit diff
path: root/library/std/src/net
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2023-01-22 17:56:38 +0800
committerSean Cross <sean@xobs.io>2023-08-22 20:25:38 +0800
commit778e8038a25c06801339cc7d57dfb7385ab89399 (patch)
treeda7f8264f09f40592e8a779732120c5546839069 /library/std/src/net
parent9afc1e958b36de2d0b9c2a5dddca47f8cde9d112 (diff)
downloadrust-778e8038a25c06801339cc7d57dfb7385ab89399.tar.gz
rust-778e8038a25c06801339cc7d57dfb7385ab89399.zip
std: net: skip tests on xous
Network functionality is not yet ready for merging.

Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'library/std/src/net')
-rw-r--r--library/std/src/net/tcp.rs2
-rw-r--r--library/std/src/net/udp.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/net/tcp.rs b/library/std/src/net/tcp.rs
index 32fd54c8e75..9667d5f920e 100644
--- a/library/std/src/net/tcp.rs
+++ b/library/std/src/net/tcp.rs
@@ -1,6 +1,6 @@
 #![deny(unsafe_op_in_unsafe_fn)]
 
-#[cfg(all(test, not(target_os = "emscripten")))]
+#[cfg(all(test, not(any(target_os = "emscripten", target_os = "xous"))))]
 mod tests;
 
 use crate::io::prelude::*;
diff --git a/library/std/src/net/udp.rs b/library/std/src/net/udp.rs
index 5ca4ed832f3..227e418b709 100644
--- a/library/std/src/net/udp.rs
+++ b/library/std/src/net/udp.rs
@@ -1,4 +1,4 @@
-#[cfg(all(test, not(any(target_os = "emscripten", target_env = "sgx"))))]
+#[cfg(all(test, not(any(target_os = "emscripten", target_env = "sgx", target_os = "xous"))))]
 mod tests;
 
 use crate::fmt;