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 | 4ce20663f767c7d1610411b21ed31db3e9af21f4 (patch) | |
| tree | b47cbfe93da3d7ffb5eeae7a49e0ac8d764a45e8 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 79fa6ce7a140efb47c67567f80e59a4f19b452a6 (diff) | |
| download | rust-4ce20663f767c7d1610411b21ed31db3e9af21f4.tar.gz rust-4ce20663f767c7d1610411b21ed31db3e9af21f4.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 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
