Closed Tirka closed 2 years ago
Thanks!
Thank you for your quick response! Could you publish the updated crate to crates.io?
I no longer use this crate (or Rust in general) - could I add you as a repo collaborator and crate owner if you're an active user?
Environment variable
RUSTFLAGS
is not available withinbuild.rs
script since1.55
version ofcargo
.Currently, I'm not sure if this is a bug and waiting for clarification. Tracking issue: https://github.com/rust-lang/cargo/issues/10111.
This Pull Request fixes the problem by using the newly introduced environment variable
CARGO_ENCODED_RUSTFLAGS
which wrapsRUSTFLAGS
while keeping backward compatibility.