Skip to content

Commit 60a4934

Browse files
authored
Merge pull request #1302 from nicholasbishop/bishop-dead-code-good
Remove dead_code workarounds
2 parents 2fec209 + 0ab6973 commit 60a4934

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

.github/workflows/rust.yml

-15
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@ jobs:
123123
build_feature_permutations:
124124
name: Build (feature permutations)
125125
runs-on: ubuntu-latest
126-
env:
127-
# TODO: temporarily allow warnings to not be errors on nightly due to
128-
# incorrect dead_code lint.
129-
# https://github.com/rust-osdev/uefi-rs/issues/1205
130-
RUSTFLAGS: ""
131126
steps:
132127
- name: Checkout sources
133128
uses: actions/checkout@v4
@@ -140,11 +135,6 @@ jobs:
140135
nightly_channel:
141136
name: Nightly (build, test, doc)
142137
runs-on: ubuntu-latest
143-
env:
144-
# TODO: temporarily allow warnings to not be errors on nightly due to
145-
# incorrect dead_code lint.
146-
# https://github.com/rust-osdev/uefi-rs/issues/1205
147-
RUSTFLAGS: ""
148138
steps:
149139
- name: Checkout sources
150140
uses: actions/checkout@v4
@@ -167,11 +157,6 @@ jobs:
167157
miri:
168158
name: Unit + Doc Tests (Miri)
169159
runs-on: ubuntu-latest
170-
env:
171-
# TODO: temporarily allow warnings to not be errors on nightly due to
172-
# incorrect dead_code lint.
173-
# https://github.com/rust-osdev/uefi-rs/issues/1205
174-
RUSTFLAGS: ""
175160
steps:
176161
- name: Checkout sources
177162
uses: actions/checkout@v4

uefi/src/proto/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
//!
1010
//! [`BootServices`]: crate::table::boot::BootServices#accessing-protocols
1111
12-
#![warn(dead_code)] // https://github.com/rust-osdev/uefi-rs/issues/1205
13-
1412
use crate::Identify;
1513
use core::ffi::c_void;
1614

0 commit comments

Comments
 (0)