about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-07-03 16:46:41 +0200
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-05-11 14:23:31 +0000
commit35836b326b600728f1b4e8724d38fb8e469119c1 (patch)
tree6bcf25e8af1521a06da6e8dac1949d851376baa6 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent59177fcb60cdccd7c6e5958f36bd4d2300fafcda (diff)
downloadrust-35836b326b600728f1b4e8724d38fb8e469119c1.tar.gz
rust-35836b326b600728f1b4e8724d38fb8e469119c1.zip
Don't use an allocator shim for `#[global_allocator]`
This makes it possible to use liballoc/libstd in combination with
`--emit obj` if you use `#[global_allocator]`. Making it work for the
default libstd allocator would require weak functions, which are not
well supported on all systems.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions