diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-20 16:17:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-20 16:17:20 +0530 |
| commit | fffc6504bcfa416f09f7d441f57f71e7aec28a00 (patch) | |
| tree | 8d653b61b7e25a6efef8281880f0a23439a7761e /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | eecfdfb8a12367cb292a85b6a30981eb35a56379 (diff) | |
| parent | 7c900c9b457b232e0c189dba0871a50fd2daabf9 (diff) | |
| download | rust-fffc6504bcfa416f09f7d441f57f71e7aec28a00.tar.gz rust-fffc6504bcfa416f09f7d441f57f71e7aec28a00.zip | |
Rollup merge of #99436 - Nilstrieb:toggle-box-noalias, r=fee1-dead
Add flag to configure `noalias` on `Box<T>` The aliasing rules of `Box<T>` are still not decided, but currently, `Box<T>` is unique and gets `noalias`. To aid making an informed decision about the future of `Box<T>`, this PR adds a flag `-Zbox-noalias` to configure `noalias` for `Box<T>` (for example, for benchmarking). The same flag already exists for `&mut T` `noalias`, where it was added because it was the problem of various miscompilations in LLVM. For more information, see rust-lang/unsafe-code-guidelines#326
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
