Skip to content

Commit 111b22b

Browse files
author
Dan Cross
committed
trivial: make clippy work
Conditional compilation around our panic handler has changed in recently nightly Rust releases. This updates our cfg directives to reflect the current state of affairs. Signed-off-by: Dan Cross <cross@gajendra.net>
1 parent 4132029 commit 111b22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypatia/src/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#[macro_export]
1010
macro_rules! runtime {
1111
() => {
12-
#[cfg(all(target_os = "none"))]
12+
#[cfg(not(test))]
1313
mod no_std_runtime {
1414
use core::panic::PanicInfo;
1515

0 commit comments

Comments
 (0)