about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-03-14 15:56:33 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-03-28 09:19:57 +0000
commit2f5aa084c8bb6e1a4b014396a44087fd65a4c1c8 (patch)
treef8d3eef05908ca199750de62585a33a8de0876a8 /compiler/rustc_codegen_gcc/example/std_example.rs
parent7989568b8edd6531ed062614b71c327677b581ba (diff)
downloadrust-2f5aa084c8bb6e1a4b014396a44087fd65a4c1c8.tar.gz
rust-2f5aa084c8bb6e1a4b014396a44087fd65a4c1c8.zip
Avoid wrapping constant allocations in packed structs when not necessary
This way LLVM will set the string merging flag if the alloc is a nul
terminated string, reducing binary sizes.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions