-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
There are a bunch of run-pass tests that should be in run-pass/abi
(or some other directory if anyone has a better suggestion), and many of them are mentioned here:
rust/src/test/run-pass/abi-sysv64-arg-passing.rs
Lines 7 to 23 in baab191
// cabi-int-widening | |
// extern-pass-char | |
// extern-pass-u32 | |
// extern-pass-u64 | |
// extern-pass-double | |
// extern-pass-empty | |
// extern-pass-TwoU8s | |
// extern-pass-TwoU16s | |
// extern-pass-TwoU32s | |
// extern-pass-TwoU64s | |
// extern-return-TwoU8s | |
// extern-return-TwoU16s | |
// extern-return-TwoU32s | |
// extern-return-TwoU64s | |
// foreign-fn-with-byval | |
// issue-28676 | |
// struct-return |
You can also look for tests that mention
rust_test_helpers
- most of the functions from that C library are used to test ABIs.
This issue has been assigned to @kper via this comment.
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.