fix(napi-build): cargo:rerun-if commands (#871)
This commit is contained in:
parent
a1e3292b7a
commit
b9f43455f0
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ mod macos;
|
|||
mod windows;
|
||||
|
||||
pub fn setup() {
|
||||
println!("cargo:rerun-if-changed=TYPE_DEF_TMP_PATH");
|
||||
println!("cargo:rerun-if-changed=DEBUG_GENERATED_CODE");
|
||||
println!("cargo:rerun-if-env-changed=TYPE_DEF_TMP_PATH");
|
||||
println!("cargo:rerun-if-env-changed=DEBUG_GENERATED_CODE");
|
||||
match std::env::var("CARGO_CFG_TARGET_OS").as_deref() {
|
||||
Ok("macos") => macos::setup(),
|
||||
Ok("windows") => windows::setup(),
|
||||
|
|
Loading…
Reference in a new issue