Skip to content

Commit c7e8663

Browse files
committed
Avoid exporting panic_unwind as stdlib cargo feature
There is already panic-unwind to enable it.
1 parent 86963ca commit c7e8663

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ backtrace = [
9393
'miniz_oxide/rustc-dep-of-std',
9494
]
9595

96-
panic-unwind = ["panic_unwind"]
96+
panic-unwind = ["dep:panic_unwind"]
9797
compiler-builtins-c = ["alloc/compiler-builtins-c"]
9898
compiler-builtins-mem = ["alloc/compiler-builtins-mem"]
9999
compiler-builtins-no-asm = ["alloc/compiler-builtins-no-asm"]

library/sysroot/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ debug_typeid = ["std/debug_typeid"]
2626
llvm-libunwind = ["std/llvm-libunwind"]
2727
system-llvm-libunwind = ["std/system-llvm-libunwind"]
2828
optimize_for_size = ["std/optimize_for_size"]
29-
panic-unwind = ["std/panic_unwind"]
29+
panic-unwind = ["std/panic-unwind"]
3030
panic_immediate_abort = ["std/panic_immediate_abort"]
3131
profiler = ["dep:profiler_builtins"]
3232
std_detect_file_io = ["std/std_detect_file_io"]

0 commit comments

Comments
 (0)