diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-03 16:46:41 +0200 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-05-11 14:23:31 +0000 |
| commit | 35836b326b600728f1b4e8724d38fb8e469119c1 (patch) | |
| tree | 6bcf25e8af1521a06da6e8dac1949d851376baa6 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 59177fcb60cdccd7c6e5958f36bd4d2300fafcda (diff) | |
| download | rust-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
