From 3f93a74263af3209d15945b3a44b7b1df2d0c24b Mon Sep 17 00:00:00 2001 From: Ben Blaxill Date: Fri, 27 Mar 2020 17:37:47 +0000 Subject: [PATCH] Don't pass RUSTFLAGS to `compile_rust_wasm` (#782) --- sdk/rust/oak_tests/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/rust/oak_tests/src/lib.rs b/sdk/rust/oak_tests/src/lib.rs index 14bb0d19600..7398aeb3ce0 100644 --- a/sdk/rust/oak_tests/src/lib.rs +++ b/sdk/rust/oak_tests/src/lib.rs @@ -38,6 +38,7 @@ pub fn compile_rust_wasm(cargo_path: &str, module_name: &str) -> std::io::Result "--target=wasm32-unknown-unknown", &format!("--manifest-path={}", cargo_path), ]) + .env_remove("RUSTFLAGS") .spawn()? .wait()?;