File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,9 @@ pub fn build(b: *std.Build) !void {
4949 .settings = emcc_settings ,
5050 .out_file_name = "zorth.mjs" ,
5151 .install_dir = .prefix ,
52+ .js_library_path = b .path ("node_modules/xterm-pty/emscripten-pty.js" ),
5253 });
5354
54- var emcc : * std.Build.Step.Run = @fieldParentPtr ("step" , emcc_step .dependencies .getLast ());
55- const js_library_path = b .path ("node_modules/xterm-pty/emscripten-pty.js" );
56- emcc .addArg ("--js-library" );
57- emcc .addFileArg (js_library_path );
58- emcc .addFileInput (js_library_path );
59-
6055 inline for (.{
6156 "demo/index.html" ,
6257 "node_modules/coi-serviceworker/coi-serviceworker.min.js" ,
Original file line number Diff line number Diff line change 99 .hash = "N-V-__8AAFOvDwCo7taCCai1-7vIWbazjhzpIv6NqgJtSZ63" ,
1010 },
1111 .zemscripten = .{
12- .url = "git+https://github.com/zig-gamedev/zemscripten#00da03b188220374a57cb34cda6230b8d53737ea " ,
13- .hash = "zemscripten-0.2.0-dev-sRlDqFJSAAB8hgnRt5DDMKP3zLlDtMnUDwYRJVCa5lGY " ,
12+ .url = "git+https://github.com/zig-gamedev/zemscripten#f724af6f533ee30e1d39e5cd085e1cd50f0573e8 " ,
13+ .hash = "zemscripten-0.2.0-dev-sRlDqCxSAADjjPPdFi6yIUxcZn8_q8PP4OtdtIWgQgRK " ,
1414 },
1515 },
1616 .paths = .{
You can’t perform that action at this time.
0 commit comments