diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-04-14 13:52:56 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-04-16 21:13:21 -0400 |
| commit | 649e80184bf238760a2162c6f93090c4ed6abae8 (patch) | |
| tree | 7558b7efe14ff2e12b0feddb4732bee9edd577fb /compiler/rustc_resolve/src | |
| parent | ad18fe08de03fbb459c05475bddee22707b4f0ec (diff) | |
| download | rust-649e80184bf238760a2162c6f93090c4ed6abae8.tar.gz rust-649e80184bf238760a2162c6f93090c4ed6abae8.zip | |
Codegen ZSTs without an allocation
This makes sure that &[] is just as efficient as indirecting through unsafe code (from_raw_parts). No new stable guarantee is intended about whether or not we do this, this is just an optimization. Co-authored-by: Ralf Jung <post@ralfj.de>
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
