Fix rerun-if-changed emmiting from build.rs

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.
This commit is contained in:
Kirill Chibisov 2023-01-29 14:23:45 +03:00 committed by GitHub
parent 23b821285c
commit 8f8da0f8bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.