about summary refs log tree commit diff
path: root/library/std/src/os/unix/net/tests.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-02 02:41:42 +0000
committerbors <bors@rust-lang.org>2023-03-02 02:41:42 +0000
commit864b6258fc7b493aec01f980b31ff23901c0edae (patch)
tree325aba19c26653880753015b1229155aa88c1e06 /library/std/src/os/unix/net/tests.rs
parent0b4ba4cf0ed52bb4f1ff9436b9a887fd5f049e6b (diff)
parenta510715749fd85eb23753cd3838647a7a9f9474a (diff)
downloadrust-864b6258fc7b493aec01f980b31ff23901c0edae.tar.gz
rust-864b6258fc7b493aec01f980b31ff23901c0edae.zip
Auto merge of #106673 - flba-eb:add_qnx_nto_stdlib, r=workingjubilee
Add support for QNX Neutrino to standard library

This change:

- adds standard library support for QNX Neutrino (7.1).
- upgrades `libc` to version `0.2.139` which supports QNX Neutrino

`@gh-tr`

⚠️ Backtraces on QNX require https://github.com/rust-lang/backtrace-rs/pull/507 which is not yet merged! (But everything else works without these changes) ⚠️

Tested mainly with a x86_64 virtual machine (see qnx-nto.md) and partially with an aarch64 hardware (some tests fail due to constrained resources).
Diffstat (limited to 'library/std/src/os/unix/net/tests.rs')
-rw-r--r--library/std/src/os/unix/net/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/os/unix/net/tests.rs b/library/std/src/os/unix/net/tests.rs
index 37fcfa8446b..f8c29a6d3a1 100644
--- a/library/std/src/os/unix/net/tests.rs
+++ b/library/std/src/os/unix/net/tests.rs
@@ -167,6 +167,7 @@ fn long_path() {
 }
 
 #[test]
+#[cfg(not(target_os = "nto"))]
 fn timeouts() {
     let dir = tmpdir();
     let socket_path = dir.path().join("sock");