You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #7286, it is said that function calls in naked functions must have explictly-specified stack.
However, the stack option was removed in #13907.
Now, there are no way to call functions in naked functions but inline assembly.
src/main.zig:48:5: error: runtime @call not allowed in naked function
@call(.auto, main, .{});
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expected Behavior
someway to call functions
The text was updated successfully, but these errors were encountered:
xtexx
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Dec 2, 2023
Zig Version
0.12.0-dev.1769+bf5ab5451
Steps to Reproduce and Observed Behavior
In #7286, it is said that function calls in naked functions must have explictly-specified stack.
However, the
stack
option was removed in #13907.Now, there are no way to call functions in naked functions but inline assembly.
Expected Behavior
someway to call functions
The text was updated successfully, but these errors were encountered: