mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04: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:
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user