-
Notifications
You must be signed in to change notification settings - Fork 108
Add abi-checker to y.rs and run it on CI #1255
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3bd9821
Initial ABI Checker support
afonso360 fb6362e
Test adding abi-checker to CI
afonso360 5693122
Add abi-checker to clean_all.sh
afonso360 e5ba71a
Pass all pairs to abi-checker
afonso360 7610be4
Move abi-checker to y.rs test
afonso360 0706df5
Update abi-checker version
afonso360 69c6749
Disable some abi-checker tests
afonso360 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From 1a315ba225577dbbd1f449d9609f16f984f68708 Mon Sep 17 00:00:00 2001 | ||
From: Afonso Bordado <[email protected]> | ||
Date: Fri, 12 Aug 2022 22:51:58 +0000 | ||
Subject: [PATCH] Disable abi-checker tests | ||
|
||
--- | ||
src/report.rs | 14 ++++++++++++++ | ||
1 file changed, 14 insertions(+) | ||
|
||
diff --git a/src/report.rs b/src/report.rs | ||
index 7346f5e..8347762 100644 | ||
--- a/src/report.rs | ||
+++ b/src/report.rs | ||
@@ -45,6 +45,20 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn AbiImpl, callee: &dyn AbiImpl | ||
// | ||
// THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES | ||
|
||
+ // Currently MSVC has some broken ABI issues. Furthermore, they cause | ||
+ // a STATUS_ACCESS_VIOLATION, so we can't even run them. Ensure that they compile and link. | ||
+ if cfg!(windows) && (test.test_name == "bool" || test.test_name == "ui128") { | ||
+ result.run = Link; | ||
+ result.check = Pass(Link); | ||
+ } | ||
+ | ||
+ // structs is broken in the current release of cranelift for aarch64. | ||
+ // It has been fixed for cranelift 0.88: https://github.com/bytecodealliance/wasmtime/pull/4634 | ||
+ if cfg!(target_arch = "aarch64") && test.test_name == "structs" { | ||
+ result.run = Link; | ||
+ result.check = Pass(Link); | ||
+ } | ||
+ | ||
// END OF VENDOR RESERVED AREA | ||
// | ||
// | ||
-- | ||
2.34.1 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.