about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-04-06 13:46:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-04-13 07:04:23 -0700
commit66c5e3ffb2b7a0804ceb989b9dc9138a7758bfd6 (patch)
treee0083df0c26ed4584e5e20c566af265332c37d04 /src/rustllvm/RustWrapper.cpp
parentc3a5d6b130e27d7d7587f56581247d5b08c38594 (diff)
downloadrust-66c5e3ffb2b7a0804ceb989b9dc9138a7758bfd6.tar.gz
rust-66c5e3ffb2b7a0804ceb989b9dc9138a7758bfd6.zip
Reduce the size of panics in RawVec
Create one canonical location which panics with "capacity overflow" instead of
having many. This reduces the size of a `panic!("{}", 1)` binary on wasm from
34k to 17k.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions