Skip to content

Commit

Permalink
Change cfg_attr to a supported one
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavidmackenzie committed Aug 6, 2024
1 parent fcbca1b commit 7ef7df2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wimon/src/lib/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serde_derive::{Deserialize, Serialize};
use url::Url;

#[cfg_attr(
not(target = "thumbv6m-none-eabi"),
not(target_abi = "eabi"),
derive(Default, Serialize, Deserialize, Debug, PartialEq)
)]
pub enum MonitorSpec {
Expand All @@ -18,7 +18,7 @@ pub enum MonitorSpec {
}

#[cfg_attr(
not(target = "thumbv6m-none-eabi"),
not(target_abi = "eabi"),
derive(Serialize, Deserialize, Debug, PartialEq)
)]
pub struct ReportSpec {
Expand All @@ -27,7 +27,7 @@ pub struct ReportSpec {
}

#[cfg_attr(
not(target = "thumbv6m-none-eabi"),
not(target_abi = "eabi"),
derive(Default, Serialize, Deserialize)
)]
pub struct Config {
Expand Down

0 comments on commit 7ef7df2

Please sign in to comment.