mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
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:
parent
23b821285c
commit
8f8da0f8bb
4
build.rs
4
build.rs
|
@ -28,7 +28,9 @@ mod wayland {
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// The script doesn't depend on our code
|
// 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
|
// Setup cfg aliases
|
||||||
cfg_aliases! {
|
cfg_aliases! {
|
||||||
// Systems.
|
// Systems.
|
||||||
|
|
Loading…
Reference in a new issue