Skip to content

Commit 005ec04

Browse files
committed
Handle panics by unwinding the stack
1 parent 400c905 commit 005ec04

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.github/workflows/rust.yml

-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ jobs:
7979

8080
- name: Run cargo test
8181
uses: actions-rs/cargo@v1
82-
env:
83-
# This works around "duplicate item in crate core" errors:
84-
# https://github.com/rust-lang/wg-cargo-std-aware/issues/56
85-
CARGO_PROFILE_DEV_PANIC: unwind
8682
with:
8783
command: test
8884
args: -Zbuild-std=std --target x86_64-unknown-linux-gnu --features=exts

Cargo.toml

-6
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ members = [
4545
"uefi-test-runner",
4646
]
4747

48-
[profile.dev]
49-
panic = "abort"
50-
51-
[profile.release]
52-
panic = "abort"
53-
5448
[patch.crates-io]
5549
uefi-macros = { path = "uefi-macros" }
5650
uefi = { path = "." }

0 commit comments

Comments
 (0)