depot/third_party/nixpkgs/pkgs/development/tools/parsing/tree-sitter/fix-paths.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

13 lines
522 B
Diff

diff --git a/cli/loader/src/lib.rs b/cli/loader/src/lib.rs
index 9c1d8dfc..a5cfc74c 100644
--- a/cli/loader/src/lib.rs
+++ b/cli/loader/src/lib.rs
@@ -747,7 +747,7 @@ impl Loader {
Podman,
}
- let emcc_name = if cfg!(windows) { "emcc.bat" } else { "emcc" };
+ let emcc_name = if cfg!(windows) { "emcc.bat" } else { "@emcc@" };
// Order of preference: emscripten > docker > podman > error
let source = if !force_docker && Command::new(emcc_name).output().is_ok() {