Skip to content

Commit

Permalink
remove non-existent cargo rerun check (#3412)
Browse files Browse the repository at this point in the history
  • Loading branch information
chippers committed Feb 12, 2022
1 parent 8f5dba0 commit 65287cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/always-rebuilding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-build": patch
---

Remove `cargo:rerun-if-changed` check for non-existent file that caused projects to _always_ rebuild.
1 change: 0 additions & 1 deletion core/tauri-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ pub fn try_build(attributes: Attributes) -> Result<()> {
use cargo_toml::{Dependency, Manifest};
use tauri_utils::config::{Config, TauriConfig};

println!("cargo:rerun-if-changed=src/Cargo.toml");
println!("cargo:rerun-if-changed=tauri.conf.json");
#[cfg(feature = "config-json5")]
println!("cargo:rerun-if-changed=tauri.conf.json5");
Expand Down

0 comments on commit 65287cd

Please sign in to comment.