We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35c92cb + e11b82a commit fd3d660Copy full SHA for fd3d660
build.rs
@@ -10,6 +10,10 @@ use cargo_target_dep::build_target_dep;
10
const TIMER_TRIGGER_INTEGRATION_TEST: &str = "examples/spin-timer/app-example";
11
12
fn main() {
13
+ // Don't inherit flags from our own invocation of cargo into sub-invocations
14
+ // since the flags are intended for the host and we're compiling for wasm.
15
+ std::env::remove_var("CARGO_ENCODED_RUSTFLAGS");
16
+
17
// Extract environment information to be passed to plugins.
18
// Git information will be set to defaults if Spin is not
19
// built within a Git worktree.
0 commit comments