You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
env! in rust code includes the literal value of environment variables set at compilation time. sccache currently hashes environment variables that start with CARGO_ except CARGO_METAFLAGS, or CARGO (per #89 and #942), but that doesn't cover all possible use cases and is thus not future-proof.
Rust has recently added support for outputing the variables used by the source in its dep-info (rust-lang/rust#40364), so for appropriate versions of rustc, we could actually do the right thing.
The text was updated successfully, but these errors were encountered:
env!
in rust code includes the literal value of environment variables set at compilation time. sccache currently hashes environment variables that start withCARGO_
exceptCARGO_METAFLAGS
, orCARGO
(per #89 and #942), but that doesn't cover all possible use cases and is thus not future-proof.Rust has recently added support for outputing the variables used by the source in its dep-info (rust-lang/rust#40364), so for appropriate versions of rustc, we could actually do the right thing.
The text was updated successfully, but these errors were encountered: