rust/src/test/run-make
Alex Crichton 46d16b66e0 std: Avoid allocating panic message unless needed
This commit removes allocation of the panic message in instances like
`panic!("foo: {}", "bar")` if we don't actually end up needing the message. We
don't need it in the case of wasm32 right now, and in general it's not needed
for panic=abort instances that use the default panic hook.

For now this commit only solves the wasm use case where with LTO the allocation
is entirely removed, but the panic=abort use case can be implemented at a later
date if needed.
2018-04-13 07:04:24 -07:00
..
wasm-custom-section rustc: Add a #[wasm_import_module] attribute 2018-03-22 13:16:38 -07:00
wasm-import-module rustc: Add a #[wasm_import_module] attribute 2018-03-22 13:16:38 -07:00
wasm-panic-small std: Avoid allocating panic message unless needed 2018-04-13 07:04:24 -07:00