-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QNX7.1] std::fs::tests::symlink_hard_link
broken on main
#129895
Comments
@japaric thanks for the report! I will need to re-test it for QNX 7.0, to see if it is a 7.0 requirement (i don't recall why this was required initially, but clearly I ran into some issues with it). I also plan to do a similar automation to ensure 7.0 builds run without problems on our hardware. Is there a list of tests you see failing on 7.1 that are OK to ignore? I see a list here - is this the most relevant one? Thx! |
we do not ignore any single unit test at the moment and we run library (e.g. libstd) tests as well as (cross) compilation tests using we currently run these test suites: $ # run these from the root of the ferrocene/ferrocene repo
$ ferrocene/ci/split-tasks.py test:library
library/alloc library/core library/test
$ ferrocene/ci/split-tasks.py test:library-std
library/std
$ ferrocene/ci/split-tasks.py qnx:compiletest-no-only-hosts
tests/assembly tests/codegen tests/codegen-units tests/coverage tests/crashes tests/debuginfo tests/incremental tests/mir-opt tests/run-make tests/run-pass-valgrind tests/ui |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-low |
fixed in #130248 |
Rollup merge of rust-lang#130248 - nyurik:fix-129895, r=workingjubilee Limit `libc::link` usage to `nto70` target only, not NTO OS It seems QNX 7.0 does not support `linkat` at all (most tests were failing). Limiting to QNX 7.0 only, while using `linkat` for the future versions seems like the right path forward (tested on 7.0). Fixes rust-lang#129895 CC: `@japaric` `@flba-eb` `@saethlin`
Ferrocene CI has detected that this test was broken by #127897 . Specifically, by the change in
library/std/src/sys/pal/unix/fs.rs
, shown below:Test output:
Reverting that single line diff fixes the test for the QNX7.1 targets, e.g.
arch64-unknown-nto-qnx710
andx86_64-pc-nto-qnx710
@nyurik can the change be reverted or does QNX7.0 need to use
link
, instead oflinkat
, here? from looking at libc, it appears that bothlink
andlinkat
are available on QNX7.0 so reverting the change should at least not cause compilation or linking errors. if the case is the latter, then we should usecfg(target_env = "nto70")
in addition tocfg(target_os = "nto")
.The text was updated successfully, but these errors were encountered: