Skip to content

Initial pass at new host ABI #7795

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

Merged
merged 14 commits into from
May 19, 2025
Prev Previous commit
Next Next commit
Revise doc comment
Co-authored-by: Brendan Hansknecht <[email protected]>
Signed-off-by: Richard Feldman <[email protected]>
  • Loading branch information
rtfeldman and bhansconnect committed May 18, 2025
commit be5f68cb90686c413551976c04c4ae583654ccc8
2 changes: 1 addition & 1 deletion src/host_abi.zig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub fn RocOps(comptime CallEnv: type) type {
}

/// When RocOps.roc_alloc gets called, it will be passed one of these.
/// That function should write the allocated memory into `ret`.
/// That function should write the address to the allocated memory into `ret`.
/// If it cannot provide a non-null pointer (e.g. due to OOM), it
/// must not return, and must instead do something along the lines
/// of roc_crashed.
Expand Down