about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-24 14:00:56 +0000
committerbors <bors@rust-lang.org>2020-01-24 14:00:56 +0000
commit73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de (patch)
tree984179012855837848c7d3b741234ec45b4ac2bf /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentdee12bb2b7d75cce8fc8f21b5d7ea0da920df5e5 (diff)
parent197cc1e43afba388a0266a08d2b946a187b766bb (diff)
downloadrust-73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de.tar.gz
rust-73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de.zip
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
Also share drop-glue when compiling with -Zshare-generics (i.e. at opt-level=0)

This PR adds drop-glue to the set of monomorphizations that can be shared across crates via `-Zshare-generics`.

This version of the PR might have detrimental effects on performance as it makes lots of stuff dependent on a single query results (`upstream_monomorphizations_for(def_id_of_drop_in_place)`). That should be fixable but let's do a perf run first.

Potentially fixes issue https://github.com/rust-lang/rust/issues/64140. (cc @alexcrichton)
The changes here are related to @matthewjasper's https://github.com/rust-lang/rust/pull/67332 but should be mostly orthogonal.

r? @ghost
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions