-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Allow for disabling the stack check in a target file #34269
Comments
/cchttps://github.com//issues/16012 I forget if this flag works regardless if it's probes or not. I am also not sure if there are other kernels who are turning this off; I know I'm not. Not that matters if it's what you need to do... On Jun 14, 2016, 08:24 +0100, Chris [email protected], wrote:
|
Ooh, I did some more searching and realized that Since #27338 removed the morestack stuff, and stack probes haven't arrived yet, there isn't really a "stack check" to disable in the first place. And when stack probes land, they'll be harmless for osdev. @steveklabnik Is that why your project doesn't use that flag? I was operating under the assumption that |
That was my hunch, but I wasn't sure. So I'm guessing that is true. On Jun 14, 2016, 11:32 +0100, Chris [email protected], wrote:
|
Okay, since I don't really have a use case for it now I'm going to close the issue. |
Apparently it's not necessary now See rust-lang/rust#34269
In my use case (writing a kernel), I need to disable the stack overflow check. It would be nice if I could write
in my target file instead of manually passing
-C no-stack-check
torustc
.The text was updated successfully, but these errors were encountered: