~ntgg/PGLang

ref: 5b64a42f5b965a902bb3d349ffb583b4738b8dac PGLang/build.zig -rw-r--r-- 284 bytes View raw
5b64a42fNoah Graff moved VM to seperate file 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
const Builder = @import("std").build.Builder;

pub fn build(b: *Builder) void {
    const mode = b.standardReleaseOptions();
    const lib = b.addStaticLibrary("bfzk", "src/main.zig");
    lib.setBuildMode(mode);
    lib.setTarget(.wasm32, .freestanding, .none);
    lib.install();
}