Skip to content

Commit

Permalink
Fix error for cargo check --workspace --all-targets
Browse files Browse the repository at this point in the history
This prevents rust-analyzer from showing an error for the panic-handler
crate.
  • Loading branch information
bjorn3 committed Jan 9, 2025
1 parent 834bacf commit 287c279
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/panic-handler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ authors = ["Alex Crichton <[email protected]>"]
edition = "2021"
publish = false

[lib]
test = false
bench = false

[dependencies]
1 change: 1 addition & 0 deletions testcrate/tests/addsub.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![allow(unused_macros)]
#![cfg_attr(f128_enabled, feature(f128))]

#[allow(unused_imports)] // Unused on some archs
use testcrate::*;

macro_rules! float_sum {
Expand Down

0 comments on commit 287c279

Please sign in to comment.