about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-27 09:34:26 +0000
committerbors <bors@rust-lang.org>2024-07-27 09:34:26 +0000
commit3942254d00bf95cd5920980f85ebea57a1e6ce2a (patch)
treef8ec643322bc3ea8f94999c020ec3617ca3bff44 /compiler/rustc_codegen_cranelift/example/std_example.rs
parentad3c5a330173a4a6446c1ed90c72a3f5f9106888 (diff)
parent2f2eb22b736f0eb364bd6c6119a3d3b90bf882ff (diff)
downloadrust-3942254d00bf95cd5920980f85ebea57a1e6ce2a.tar.gz
rust-3942254d00bf95cd5920980f85ebea57a1e6ce2a.zip
Auto merge of #124905 - reitermarkus:u32-from-char-opt, r=scottmcm
Allow optimizing `u32::from::<char>`.

Extracted from https://github.com/rust-lang/rust/pull/124307.

This allows optimizing the panicking branch in the `escape_unicode` function, see https://rust.godbolt.org/z/61YhKrhvP.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions