about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-09 12:14:19 -0500
committerGitHub <noreply@github.com>2017-02-09 12:14:19 -0500
commit3eaca413fe44dbd4e59c648a14efa8a2888622b0 (patch)
tree71446db7b9fc202e454ff31a307d5f65a5a3295d /src/test/run-pass/thinlto
parenta05cc5ca9d52b9f88b285433715aa97ed0d66ea8 (diff)
parente5396e025ed886c827348aac996c4c6c846fb5ab (diff)
downloadrust-3eaca413fe44dbd4e59c648a14efa8a2888622b0.tar.gz
rust-3eaca413fe44dbd4e59c648a14efa8a2888622b0.zip
Rollup merge of #39619 - michaelwoerister:rename-crate-metadata, r=alexcrichton
Choose different name for metadata obj-file to avoid clashes with user-chosen names.

Fixes #39585 and probably https://github.com/rust-lang/rust/issues/39508.
Incremental compilation assigns different names to obj-files than regular compilation. If a crate is called "metadata" this can lead to a clash between the root module's obj-file and the obj-file containing crate-metadata. This PR assigns a name to the metadata obj-file that cannot clash with other obj-file because it contains a `.` which is not allowed in a Rust module identifier.

r? @alexcrichton

cc @nikomatsakis
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions