Skip to content

Commit

Permalink
rebuild on env var change
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Sep 16, 2024
1 parent eb3be97 commit b02b680
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/proxy/sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
fn main() {
println!("cargo:rerun-if-env-changed=TRACT_DYLIB_SEARCH_PATH");
if let Ok(path) = std::env::var("TRACT_DYLIB_SEARCH_PATH") {
println!("cargo:rustc-link-search={path}");
}
Expand Down

0 comments on commit b02b680

Please sign in to comment.