]> git.lizzy.rs Git - rust.git/commit
In --emit KIND=PATH options, only hash KIND
authorJeremy Fitzhardinge <jeremy@goop.org>
Sat, 5 Jun 2021 22:43:12 +0000 (15:43 -0700)
committerJeremy Fitzhardinge <jsgf@fb.com>
Tue, 22 Jun 2021 00:22:35 +0000 (17:22 -0700)
commita26d99f348de873e7a7b2b9ab6e78506278c0fee
treec50432ea04c7ffddfc2974f3ea8ccec972310507
parentcef3ab75b12155e0582dd8b7710b7b901215fdd6
In --emit KIND=PATH options, only hash KIND

The PATH has no material effect on the emitted artifact, and setting
the patch via `-o` or `--out-dir` does not affect the hash.

Closes https://github.com/rust-lang/rust/issues/86044
compiler/rustc_interface/src/tests.rs
compiler/rustc_session/src/config.rs
src/test/run-make/emit-path-unhashed/Makefile [new file with mode: 0644]
src/test/run-make/emit-path-unhashed/foo.rs [new file with mode: 0644]