From 9a55329af961937c0a965f9046c3c3619c97dfc9 Mon Sep 17 00:00:00 2001 From: Brady Joslin Date: Thu, 17 Apr 2025 14:41:02 -0500 Subject: [PATCH] fix: prevent env var leaks into WASM output --- bin/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/src/main.rs b/bin/src/main.rs index b1fb195..ca9aa4b 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs @@ -74,6 +74,9 @@ fn main() -> Result<(), Error> { .arg(&opts.input_py) .arg("-o") .arg(&core_path); + + command.env_clear(); + if opts.debug { command.arg("-g"); }