about summary refs log tree commit diff
path: root/library/core/src
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/core/src
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/core/src')
-rw-r--r--library/core/src/ffi/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/ffi/mod.rs b/library/core/src/ffi/mod.rs
index 76daceecd7b..27f6659049c 100644
--- a/library/core/src/ffi/mod.rs
+++ b/library/core/src/ffi/mod.rs
@@ -144,6 +144,7 @@ mod c_char_definition {
                 )
             ),
             all(target_os = "fuchsia", target_arch = "aarch64"),
+            all(target_os = "nto", target_arch = "aarch64"),
             target_os = "horizon"
         ))] {
             pub type c_char = u8;