-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove obsolete no_stack_check attribute and test #34915
Comments
The test probably should go. |
I think its also a time to deprecate the attribute by now. cc @rust-lang/compiler @rust-lang/lang |
If the attribute doesn't have any effect anymore, the test case should be removed (while making sure that's it's still possible to break on a function, which might mean that we have to write another test case if that isn't covered anywhere else). |
fwiw, this test does pass on x86, x86-64 and even arm64 |
It seems odd that the test is failing in this context, but not in the other targets that @infinity0 mentioned. Nonetheless, the compiler team concluded we should:
|
I'll happily mentor someone to do this. |
I can work on this. |
So this is as simple as just deleting |
You’ll also need to remove this flag. Getting the things you mentioned along with this flag deleted sounds correct. |
I created three different pull requests because i did not know how to create a single pull request for multiple files. How can i do this in the future? |
Did you perhaps make the PRs using github’s edit file feature? I do not think that feature was ever meant for anything more than quickly changing a typo in a single file. The proper workflow (which allows for multi-file patches as well) is to:
There a number of tutorials on how to get started with this workflow on the internet. In no particular order: 1, 2, 2.5, 3, 4, 5. |
Remove no_stack_check tests (rust-lang#34915) Part of fixes for rust-lang#34915
Remove no_stack_check tests (rust-lang#34915) Part of fixes for rust-lang#34915
What's still missing here? |
Marking the 'no-stack-check' codegen option as deprecated (Issue rust-lang#34915) Attempts to finish resolving issue rust-lang#34915. Based on pull request rust-lang#35156, which was closed due to inactivity.
@mgattozzi Yes, looks like it. Thanks for the reminder! |
No. We still need to remove the flag. Please reopen. |
Oh, I thought the issue was just about the test, sorry. |
This issue was fixed in PR #37636. I believe this should be closed. |
per @danobi's comment, closing |
Here is the start of the failure
After this basically everything is broken which you can see in more detail here. However, I see that
no_stack_check
isn't used in the code anywhere any more - there is only onegrep
result forstack[-_]check
that excludes this test itself, and one of them says this:So I wonder if this test should just be gotten rid of?
The text was updated successfully, but these errors were encountered: