Skip to content

Commit

Permalink
Fix rerun-if-changed emmiting from build.rs
Browse files Browse the repository at this point in the history
The docs state that it accepts `PATH`, but not like the env variable.
So to make it work each `PATH` should be emmited from each `println!`.

Fixes #2657.
  • Loading branch information
kchibisov authored Jan 29, 2023
1 parent 23b8212 commit 8f8da0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ mod wayland {

fn main() {
// The script doesn't depend on our code
println!("cargo:rerun-if-changed=build.rs:wayland_protocols");
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-changed=wayland_protocols");

// Setup cfg aliases
cfg_aliases! {
// Systems.
Expand Down

0 comments on commit 8f8da0f

Please sign in to comment.