-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change removes the AbiSet from the AST, converting all usage to have just one Abi value. The current scheme selects a relevant ABI given a list of ABIs based on the target architecture and how relevant each ABI is to that architecture. Instead of this mildly complicated scheme, only one ABI will be allowed in abi strings, and pseudo-abis will be created for special cases as necessary. For example the "system" abi exists for stdcall on win32 and C on win64. Closes #10049
- Loading branch information
1 parent
361d791
commit cd7b39d
Showing
32 changed files
with
204 additions
and
459 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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
Oops, something went wrong.
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from cmr
at alexcrichton@cd7b39d
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/no-abi-set = cd7b39d into auto
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/no-abi-set = cd7b39d merged ok, testing candidate = 2fa78cc
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2001
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5013
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5013
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4105
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4119
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5113
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4200
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4208
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5115
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4200
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4205
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4271
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5112
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4209
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4220
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4876
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from cmr
at alexcrichton@cd7b39d
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/no-abi-set = cd7b39d into auto
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/no-abi-set = cd7b39d merged ok, testing candidate = 49823448
cd7b39d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4220
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5028
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5028
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4120
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4134
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5128
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4215
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4223
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5130
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4215
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2015
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5127
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4224
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4235
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4891