Merge pull request #885 from alexcrichton/less-rebuild
Don't rebuild `wasmtime-cli` on all file changes
This commit is contained in:
1
build.rs
1
build.rs
@@ -11,6 +11,7 @@ use std::path::{Path, PathBuf};
|
|||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
fn main() -> anyhow::Result<()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
|
println!("cargo:rerun-if-changed=build.rs");
|
||||||
let out_dir = PathBuf::from(
|
let out_dir = PathBuf::from(
|
||||||
env::var_os("OUT_DIR").expect("The OUT_DIR environment variable must be set"),
|
env::var_os("OUT_DIR").expect("The OUT_DIR environment variable must be set"),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user