Skip to content

Commit 36a02ff

Browse files
authored
fix: prevent env var leaks into WASM output (#55)
1 parent a2a0d2d commit 36a02ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ fn main() -> Result<(), Error> {
7474
.arg(&opts.input_py)
7575
.arg("-o")
7676
.arg(&core_path);
77+
78+
command.env_clear();
79+
7780
if opts.debug {
7881
command.arg("-g");
7982
}

0 commit comments

Comments
 (0)