Skip to content

Commit 600beaa

Browse files
authored
Add QNX NTO 7.0 platform support (#648)
Part of adding aarch64-unknown-nto-qnx700 support to Rust. This will resolve the following failing unit tests: ``` [ui] tests/ui/backtrace/backtrace.rs [ui] tests/ui/backtrace/dylib-dep.rs [ui] tests/ui/backtrace/line-tables-only.rs [ui] tests/ui/backtrace/std-backtrace.rs [ui] tests/ui/panics/issue-47429-short-backtraces.rs#legacy [ui] tests/ui/panics/issue-47429-short-backtraces.rs#v0 [ui] tests/ui/panics/runtime-switch.rs#legacy [ui] tests/ui/panics/runtime-switch.rs#v0 [ui] tests/ui/panics/short-ice-remove-middle-frames-2.rs [ui] tests/ui/panics/short-ice-remove-middle-frames.rs [ui] tests/ui/runtime/backtrace-debuginfo.rs ```
1 parent 84b6c1d commit 600beaa

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ cpp_demangle = { default-features = false, version = "0.4.0", optional = true, f
4141
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
4242
miniz_oxide = { version = "0.7.0", default-features = false }
4343
addr2line = { version = "0.24.0", default-features = false }
44-
libc = { version = "0.2.146", default-features = false }
44+
libc = { version = "0.2.156", default-features = false }
4545

4646
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies.object]
4747
version = "0.36.0"

crates/as-if-std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ bench = false
1414
[dependencies]
1515
cfg-if = "1.0"
1616
rustc-demangle = "0.1.21"
17-
libc = { version = "0.2.146", default-features = false }
17+
libc = { version = "0.2.156", default-features = false }
1818

1919
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
2020
miniz_oxide = { version = "0.7.0", optional = true, default-features = false }

src/backtrace/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ cfg_if::cfg_if! {
176176
unix,
177177
not(target_os = "emscripten"),
178178
not(all(target_os = "ios", target_arch = "arm")),
179-
not(all(target_os = "nto", target_env = "nto70")),
180179
),
181180
all(
182181
target_env = "sgx",

src/symbolize/gimli.rs

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ cfg_if::cfg_if! {
224224
target_os = "hurd",
225225
target_os = "openbsd",
226226
target_os = "netbsd",
227+
target_os = "nto",
227228
target_os = "android",
228229
),
229230
not(target_env = "uclibc"),

0 commit comments

Comments
 (0)