about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-12-19 17:36:48 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-12-19 17:39:43 +0100
commit6eb50729291c64acf0d6588dd632e9792508ca31 (patch)
treeb0040998b85128698f76dc7e3aca66b00d8e1689 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parent41c3017c82bbc16842cc3bc1afa904e6910e293c (diff)
downloadrust-6eb50729291c64acf0d6588dd632e9792508ca31.tar.gz
rust-6eb50729291c64acf0d6588dd632e9792508ca31.zip
Actually set IMAGE_SCN_LNK_REMOVE for .rmeta
The code intended to set the IMAGE_SCN_LNK_REMOVE flag for the
.rmeta section, however the value of this flag was set to zero.
Instead use the actual value provided by the object crate.

This dates back to the original introduction of this code in
PR #84449, so we were never setting this flag. As I'm not on
Windows, I'm not sure whether that means we were embedding .rmeta
into executables, or whether the section ended up getting stripped
for some other reason.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions