rust/library
Jacob Pratt e046884f49
Rollup merge of #152357 - nicholasbishop:push-uolpvnvrlznw, r=joboet
std: Don't panic when removing a nonexistent UEFI var

`std::env::remove_var` does not say that deleting a nonexistent variable is an error (and at least on Linux, it indeed does not cause an error).

The UEFI Shell Protocol spec also doesn't say it's an error, but the edk2 implementation delegates to the UEFI runtime `SetVariable` function, which returns `EFI_NOT_FOUND` when trying to delete a nonexistent variable.

Change the UEFI implementation to check for a `NotFound` error and treat it as success.

CC @Ayush1325
2026-02-09 05:20:27 -05:00
..
alloc remove from impl block in std 2026-02-08 22:22:58 +01:00
alloctests Rollup merge of #151756 - Voultapher:fix-box-retag-in-sort, r=Mark-Simulacrum 2026-02-02 10:28:29 +11:00
backtrace@28ec93b503 Update backtrace 2026-01-26 10:57:35 +00:00
compiler-builtins Rollup merge of #151109 - tyhdefu:float_bits_const, r=tgross35 2026-02-03 21:58:39 +11:00
core Rollup merge of #152275 - scottmcm:range-range-inclusive, r=Mark-Simulacrum 2026-02-08 21:06:30 +01:00
coretests feat: Implement int_from_ascii for NonZero<T> 2026-02-07 13:48:52 +09:00
panic_abort Use core via rustc-std-workspace-core in library/panic* 2025-07-31 22:47:24 +00:00
panic_unwind Fix new function_casts_as_integer lint errors in core, std, panic_unwind and compiler crates 2025-11-10 16:38:28 +01:00
portable-simd Merge commit 'd9aae8cc54' into sync-from-portable-simd-2026-01-28 2026-01-28 00:56:52 -05:00
proc_macro Auto merge of #151543 - GuillaumeGomez:more-proc-macro-literal-methods, r=Amanieu 2026-02-01 15:46:27 +00:00
profiler_builtins Fix profiler_builtins build script to handle full path to profiler lib 2025-04-11 16:57:38 +02:00
rtstartup Update cfg(bootstrap) 2025-07-01 10:55:49 -07:00
rustc-std-workspace-alloc Disable unit tests for stdlib packages that don't contain any 2025-07-24 09:15:28 +00:00
rustc-std-workspace-core Use core via rustc-std-workspace-core in library/panic* 2025-07-31 22:47:24 +00:00
rustc-std-workspace-std Disable unit tests for stdlib packages that don't contain any 2025-07-24 09:15:28 +00:00
std Rollup merge of #152357 - nicholasbishop:push-uolpvnvrlznw, r=joboet 2026-02-09 05:20:27 -05:00
std_detect Replace version placeholders with 1.94 2026-01-20 21:17:10 -05:00
stdarch disable s390x vector intrinsics if softfloat is enabled 2026-02-05 13:36:18 +01:00
sysroot compiler-builtins: Remove the no-f16-f128 feature 2026-01-11 07:02:27 -06:00
test Rollup merge of #151383 - cyrgani:no-internal-deprecation, r=scottmcm 2026-01-27 12:50:52 +11:00
unwind Correct hexagon "unwinder_private_data_size" 2025-12-29 15:21:09 -06:00
windows_link Update windows bindings in std 2026-01-26 10:59:16 +00:00
Cargo.lock Rollup merge of #151660 - fmease:bump-backtrace-demangler-alt, r=tgross35 2026-01-28 21:10:51 +01:00
Cargo.toml Update windows bindings in std 2026-01-26 10:59:16 +00:00