correct wasm32-freestanding build

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-03-08 23:56:59 -07:00
parent b7fb2057f7
commit 3ba511ffaf

View file

@ -31,8 +31,8 @@ export fn wasmDeinit() void {
// Define std_options.logFn if the user did not in their "app" main.zig
pub usingnamespace if (@hasDecl(App, "std_options")) struct {} else struct {
pub const std_options = struct {
pub const logFn = core.defaultLog;
pub const std_options = std.Options{
.logFn = core.defaultLog,
};
};