about summary refs log tree commit diff
path: root/library/std/src/env.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-02-20 09:05:22 +0000
committerbors <bors@rust-lang.org>2025-02-20 09:05:22 +0000
commitc62239aeb3ba7781a6d7f7055523c1e8c22b409c (patch)
tree13712efebce07a59086ef0ea920496ec9ea5786c /library/std/src/env.rs
parenteeb9035117dc85fa4abe8e2abb09285fd65b0263 (diff)
parent6f9cfd694d67ad24af6c7e2235a2da5d22918df0 (diff)
downloadrust-c62239aeb3ba7781a6d7f7055523c1e8c22b409c.tar.gz
rust-c62239aeb3ba7781a6d7f7055523c1e8c22b409c.zip
Auto merge of #137058 - scottmcm:trunc-unchecked, r=nikic
Emit `trunc nuw` for unchecked shifts and `to_immediate_scalar`

- For shifts this shrinks the IR by no longer needing an `assume` while still providing the UB information
- Having this on the `i8`→`i1` truncations will hopefully help with some places that have to load `i8`s or pass those in LLVM structs without range information
Diffstat (limited to 'library/std/src/env.rs')
0 files changed, 0 insertions, 0 deletions