about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-reference.js
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2024-04-14 13:52:56 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2024-04-16 21:13:21 -0400
commit649e80184bf238760a2162c6f93090c4ed6abae8 (patch)
tree7558b7efe14ff2e12b0feddb4732bee9edd577fb /tests/rustdoc-js-std/parser-reference.js
parentad18fe08de03fbb459c05475bddee22707b4f0ec (diff)
downloadrust-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 'tests/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions