How can you disable stack checking? #65751
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
On Windows-MSCV-x86_64 I am attempting to create a
no_std
binary with Stable (1.38). I'm getting an unresolved symbol for__chkstk
:Normally, you resolve this in the C/C++ MSVC compiler with
/GS-
to disable stack security checks,/Gs999999999
to disable stack probes, and telling the linker/STACK:0x100000,0x100000
to force it to commit the entire 1MB of stack right away instead of using all the pages individually.I can pass the linker arg to
link.exe
easily enough, but what would the rustc equivalents to disable stack checking and stack probing be?The text was updated successfully, but these errors were encountered: