Open VorpalBlade opened 5 months ago
This seems to be part of the problem:
#[cfg(feature = "static")]
println!("cargo:rerun-if-changed=/usr/lib/pacman/lib/pkgconfig");
That doesn't actually exist
It exists if you have pacman-static installed. If the dir doesn't exist this shouldn't trigger a rebuild as there's no change right?
I think it's the
env::set_var("PKG_CONFIG_LIBDIR", "/usr/lib/pacman/lib/pkgconfig");
in the build script triggering a rerun_if_env_changed set by pkgconf. I didnt think a change would trigger itself. There may be a better way to set this.
Okay no it is the line you pointed out. Will see if there's a better way to do that.
I checked even with rust-analyzer not running: