cuviper / autocfg

Automatic cfg for Rust compiler features
Apache License 2.0
95 stars 24 forks source link

Backport CARGO_ENCODED_RUSTFLAGS to version 0.1 #40

Closed tranzystorekk closed 2 years ago

tranzystorekk commented 2 years ago

Would it be possible to create a new 0.1 patch release with the CARGO_ENCODED_RUSTFLAGS behavior? Many crates can fail to build on cross-targets with the --locked cargo flag on newer rust versions because of the RUSTFLAGS change, noticed in the Void Linux CI: https://github.com/void-linux/void-packages/issues/34889

cuviper commented 2 years ago

I did publish 0.1.8 that re-exports from 1.1.0 (or later), as they are actually API compatible. This way the 0.1.x series can pick up newer fixes, but you still have to update the lock file. There's nothing I can do for prior locked versions.

tranzystorekk commented 2 years ago

Thank you for the info! I'll close this issue.