Skip to content

Commit

Permalink
trivial: make clippy work
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Cross committed Dec 22, 2023
1 parent 4132029 commit 111b22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypatia/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#[macro_export]
macro_rules! runtime {
() => {
#[cfg(all(target_os = "none"))]
#[cfg(not(test))]
mod no_std_runtime {
use core::panic::PanicInfo;

Expand Down

0 comments on commit 111b22b

Please # to comment.