Skip to content

Commit 9dfb120

Browse files
authored
Added a missing rerun-if stanza (#8899)
1 parent 1f88356 commit 9dfb120

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rust/cryptography-cffi/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ fn main() {
2525
let out_dir = env::var("OUT_DIR").unwrap();
2626
// FIXME: maybe pyo3-build-config should provide a way to do this?
2727
let python = env::var("PYO3_PYTHON").unwrap_or_else(|_| "python3".to_string());
28+
println!("cargo:rerun-if-env-changed=PYO3_PYTHON");
2829
println!("cargo:rerun-if-changed=../../_cffi_src/");
2930
let output = Command::new(&python)
3031
.env("OUT_DIR", &out_dir)

0 commit comments

Comments
 (0)