Skip to content
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

Fix libc-tests for loongarch64 #3551

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Fix libc-tests for loongarch64 #3551

merged 2 commits into from
Jan 20, 2024

Conversation

heiher
Copy link
Contributor

@heiher heiher commented Jan 19, 2024

Fix hwcaps and syscalls tests for LoongArch64.

hwcaps

Move hwcaps to keep naming same as in c header files.

syscalls

This PR moves SYS_fstat and SYS_setrlimit from linux.txt to linux-$arch.txt. The rationale behind this change is the absence of these two system call numbers for certain architectures, such as LoongArch, which employ generic Linux syscall numbers. In these cases, __ARCH_WANT_NEW_STAT and __ARCH_WANT_SET_GET_RLIMIT are not defined.

@rustbot
Copy link
Collaborator

rustbot commented Jan 19, 2024

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@JohnTitor JohnTitor added this pull request to the merge queue Jan 20, 2024
Merged via the queue into rust-lang:main with commit 9ec2033 Jan 20, 2024
42 checks passed
@heiher heiher deleted the fix-tests branch January 31, 2024 15:02
@tgross35 tgross35 added the stable-applied This PR has been cherry-picked to libc's stable release branch label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review stable-applied This PR has been cherry-picked to libc's stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants