]> git.proxmox.com Git - cargo.git/commit
Auto merge of #6966 - ehuss:reamp-path-prefix-hash, r=@alexcrichton
authorbors <bors@rust-lang.org>
Thu, 6 Jun 2019 21:17:48 +0000 (21:17 +0000)
committerbors <bors@rust-lang.org>
Thu, 6 Jun 2019 21:17:48 +0000 (21:17 +0000)
commit65e3885ce3a60e61aaede458233616c177a1f701
tree341a6781490505f9c4e516072c3549426b603f5b
parent24439f862cb68c8ef279be7917c1f12f49e00749
parentc8a9f88f097c13fb297f48ca898914dd6d7e683a
Auto merge of #6966 - ehuss:reamp-path-prefix-hash, r=@alexcrichton

Ignore remap-path-prefix in metadata hash.

Including this flag in the metadata hash causes problems with reproducible builds.

I spent some time considering the different alternatives (such as providing a config option, or an unhashed RUSTFLAGS alternative), and decided this might be the best option.

- It is a very simple, small change.
- It should be safe.
- It is transparent to the user, they don't need to do anything special.
- It doesn't expand Cargo's interface.

Fixes #6914.
src/cargo/core/compiler/context/compilation_files.rs
src/cargo/core/compiler/fingerprint.rs