Skip to content

Commit

Permalink
feat(wasm-builder): Don't track features in wasm-builder via env var (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f authored Jul 10, 2023
1 parent 3d5eaa2 commit 8b897c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/wasm-builder/src/wasm_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,11 @@ extern "C" fn metahash() {{
self.postprocess_opt(&original_wasm_path, file_base_name)?;
}

self.force_rerun_on_next_run(&original_wasm_path)
if env::var("__GEAR_WASM_BUILDER_NO_FEATURES_TRACKING").is_err() {
self.force_rerun_on_next_run(&original_wasm_path)?;
}

Ok(())
}

fn get_exports(file: &PathBuf) -> Result<Vec<String>> {
Expand Down

0 comments on commit 8b897c2

Please sign in to comment.