2 Commits

Autor SHA1 Mensagem Data
  Ray 7f8dfc6c69
Merge pull request #5018 from maiconpintoabreu/fix-zig-wasm-win-mac 3 semanas atrás
  Maicon f1600a0c7e Fix issue on zig build emscripten run if the user has not installed emsdk 3 semanas atrás
1 arquivos alterados com 1 adições e 1 exclusões
Visão dividida
  1. +1
    -1
      build.zig

+ 1
- 1
build.zig Ver arquivo

@ -60,7 +60,7 @@ fn emscriptenRunStep(b: *std.Build, emsdk: *std.Build.Dependency, examplePath: [
defer b.allocator.free(emrun_run_arg);
if (b.sysroot == null) {
emrun_run_arg = try std.fmt.bufPrint(emrun_run_arg, "{s}", .{emrunExe});
emrun_run_arg = try std.fmt.bufPrint(emrun_run_arg, "{s}" ++ std.fs.path.sep_str ++ "{s}", .{ emsdk.path("upstream/emscripten").getPath(b), emrunExe });
} else {
emrun_run_arg = try std.fmt.bufPrint(emrun_run_arg, "{s}" ++ std.fs.path.sep_str ++ "{s}", .{ dot_emsc_path, emrunExe });
}

Carregando…
Cancelar
Salvar