Skip to content

Commit b19eb85

Browse files
authored
Merge pull request #1235 from rust-osdev/bishop-remove-unnecessary-config
logger: Remove some unnecessary cfgs
2 parents c80c232 + 2b2640f commit b19eb85

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

uefi/src/helpers/logger.rs

-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ use core::ptr;
1919
use core::sync::atomic::{AtomicPtr, Ordering};
2020

2121
/// Global logger object
22-
#[cfg(feature = "logger")]
2322
static LOGGER: Logger = Logger::new();
2423

2524
/// Set up logging
2625
///
2726
/// This is unsafe because you must arrange for the logger to be reset with
2827
/// disable() on exit from UEFI boot services.
29-
#[cfg(feature = "logger")]
3028
pub unsafe fn init(st: &mut SystemTable<Boot>) {
3129
// Connect the logger to stdout.
3230
LOGGER.set_output(st.stdout());

0 commit comments

Comments
 (0)