Small wasm.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
0fcd360470
commit
c57e9c1b7a
2 changed files with 1 additions and 1 deletions
2
testdata/build.zig
vendored
2
testdata/build.zig
vendored
|
|
@ -11,7 +11,7 @@ pub fn build(b: *std.Build) void {
|
||||||
const add_up_to_mod = b.createModule(.{
|
const add_up_to_mod = b.createModule(.{
|
||||||
.root_source_file = b.path("addupto.zig"),
|
.root_source_file = b.path("addupto.zig"),
|
||||||
.target = wasmTarget,
|
.target = wasmTarget,
|
||||||
.optimize = b.standardOptimizeOption(.{}),
|
.optimize = .ReleaseSmall,
|
||||||
});
|
});
|
||||||
const add_up_to_native_mod = b.createModule(.{
|
const add_up_to_native_mod = b.createModule(.{
|
||||||
.root_source_file = b.path("addupto.zig"),
|
.root_source_file = b.path("addupto.zig"),
|
||||||
|
|
|
||||||
BIN
testdata/zig-out/bin/addUpTo.wasm
vendored
BIN
testdata/zig-out/bin/addUpTo.wasm
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue