-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[QNX7.1] std::fs::tests::symlink_hard_link broken on main #129895
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-neutrinoOS: QNX Neutrino, a POSIX-compatible real-time operating systemOS: QNX Neutrino, a POSIX-compatible real-time operating systemP-lowLow priorityLow priorityT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-neutrinoOS: QNX Neutrino, a POSIX-compatible real-time operating systemOS: QNX Neutrino, a POSIX-compatible real-time operating systemP-lowLow priorityLow priorityT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.Untriaged performance or correctness regression.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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-qnx710andx86_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 bothlinkandlinkatare 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").