Created
April 10, 2019 17:47
-
-
Save meheleventyone/26f36c7b88d4ea6b35926024b20933e9 to your computer and use it in GitHub Desktop.
0.4.0 wasm build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Builder = @import("std").build.Builder; | |
pub fn build(b: *Builder) void { | |
const mode = b.standardReleaseOptions(); | |
const exe = b.addExecutable("main", "src/main.zig"); | |
exe.setBuildMode(mode); | |
exe.setTarget(.wasm32, .freestanding, .none); | |
b.default_step.dependOn(&exe.step); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment