]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #9653 - bjorn3:update_should_use_metadata, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 22 Jul 2021 14:16:04 +0000 (14:16 +0000)
committerbors <bors@rust-lang.org>
Thu, 22 Jul 2021 14:16:04 +0000 (14:16 +0000)
Update should_use_metadata function

* Correct the reason for not renaming dylibs
* Add todo for -install-name/-soname usage
* Limit wasm32 executable metadata omission to emscripten. Wasm file don't contain any filename themself.
* Don't omit metadata for executables on macOS. backtrace-rs is now able to load debuginfo for renamed .dSYM files: https://github.com/rust-lang/backtrace-rs/blob/ed3689c2f2b9a31546d75fae389a32a572957dbd/src/symbolize/gimli/macho.rs#L51-L65
* Mention another reason to include the metadata hash for libstd.


Trivial merge