-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Remove wasm legacy abi #133952
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
base: master
Are you sure you want to change the base?
Remove wasm legacy abi #133952
Conversation
These commits modify compiler targets. Some changes occurred in compiler/rustc_codegen_gcc |
88f79ac
to
26c9b6e
Compare
There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged. You can start a rebase with the following commands:
The following commits are merge commits: |
26c9b6e
to
16e660d
Compare
#129630 needs to be reverted or adjusted as well. |
Removed the section in question. |
compiler/rustc_ty_utils/src/abi.rs
Outdated
|
||
match spec_abi { | ||
ExternAbi::Unadjusted => {} | ||
ExternAbi::PtxKernel => {} |
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.
Is the PtxKernel
exception not needed any more?
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.
To avoid conflicts I based this PR on #133932 which is the PR for making extern "ptx-kernel"
have the right abi.
6970f8d
to
e4c01de
Compare
☔ The latest upstream changes (presumably #136572) made this pull request unmergeable. Please resolve the merge conflicts. |
e4c01de
to
e91711c
Compare
☔ The latest upstream changes (presumably #136684) made this pull request unmergeable. Please resolve the merge conflicts. |
e91711c
to
106301d
Compare
Out of curiosity, @bjorn3 did you (or anyone else?) have an expected timeline of when to land this? In the blog post this was slated for "mid summer" which is IMO any time around now, so at least personally I'd be in support of merging this change at any point now. I'm not sure if there are other stakeholders and thoughts though so wanted to confirm. |
It seems like the future incompat lint only recently started warning in dependencies, so I think we should at least wait until that change lands on stable. |
Oh? I thought that #138601, by nature of being a future-incompat lint, would warn on dependencies too, and that is on stable with 1.87 I believe. Was there a separate change though for specifically turning on the warning for dependencies? (or do you think it'd be best to wait another stable release or so?) |
It did. I think I got confused by the merge conflict caused by #141936. |
Some changes occurred in src/doc/rustc/src/platform-support cc @Noratrieb Some changes occurred in compiler/rustc_codegen_ssa |
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.
r=me from my perspective as a maintainer of the wasm32-unknown-unknown target. I'm less certain that I have the authority to officially approve and equeue this, but I figure if no one else raises an objection or otherwise enqueues this in the next week or so I'm happy to send it to bors
Also, would it make sense to put "Closes #138762" in the PR description too? |
Added that issue and #88152. |
☔ The latest upstream changes (presumably #142443) made this pull request unmergeable. Please resolve the merge conflicts. |
Ah ok it's been awhile now, so feel free to r=me with a rebase. |
f7a9002
to
4d536bd
Compare
@bors r=alexcrichton |
…lexcrichton Remove wasm legacy abi Closes rust-lang#122532 Closes rust-lang#138762 Fixes rust-lang#71871 rust-lang#88152 Fixes rust-lang#115666 Fixes rust-lang#129486
Rollup of 10 pull requests Successful merges: - #133952 (Remove wasm legacy abi) - #134661 (Reduce precedence of expressions that have an outer attr) - #141769 (Move metadata object generation for dylibs to the linker code ) - #141864 (Handle win32 separator for cygwin paths) - #142347 (Async drop - fix for StorageLive/StorageDead codegen for pinned future) - #142377 (Try unremapping compiler sources) - #142389 (Apply ABI attributes on return types in `rustc_codegen_cranelift`) - #142470 (Add some missing mailmap entries) - #142481 (Add `f16` inline asm support for LoongArch) - #142509 (bump std libc dependency) r? `@ghost` `@rustbot` modify labels: rollup
…lexcrichton Remove wasm legacy abi Closes rust-lang#122532 Closes rust-lang#138762 Fixes rust-lang#71871 rust-lang#88152 Fixes rust-lang#115666 Fixes rust-lang#129486
Rollup of 9 pull requests Successful merges: - #133952 (Remove wasm legacy abi) - #141769 (Move metadata object generation for dylibs to the linker code ) - #141864 (Handle win32 separator for cygwin paths) - #142347 (Async drop - fix for StorageLive/StorageDead codegen for pinned future) - #142377 (Try unremapping compiler sources) - #142389 (Apply ABI attributes on return types in `rustc_codegen_cranelift`) - #142470 (Add some missing mailmap entries) - #142481 (Add `f16` inline asm support for LoongArch) - #142509 (bump std libc dependency) r? `@ghost` `@rustbot` modify labels: rollup
…lexcrichton Remove wasm legacy abi Closes rust-lang#122532 Closes rust-lang#138762 Fixes rust-lang#71871 rust-lang#88152 Fixes rust-lang#115666 Fixes rust-lang#129486
Rollup of 8 pull requests Successful merges: - #133952 (Remove wasm legacy abi) - #141769 (Move metadata object generation for dylibs to the linker code ) - #141864 (Handle win32 separator for cygwin paths) - #142347 (Async drop - fix for StorageLive/StorageDead codegen for pinned future) - #142389 (Apply ABI attributes on return types in `rustc_codegen_cranelift`) - #142470 (Add some missing mailmap entries) - #142481 (Add `f16` inline asm support for LoongArch) - #142509 (bump std libc dependency) r? `@ghost` `@rustbot` modify labels: rollup
Closes #122532
Closes #138762
Fixes #71871
#88152
Fixes #115666
Fixes #129486