fix: feature gates
This commit is contained in:
parent
d4b0c0482b
commit
1fdd24ab99
2 changed files with 7 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ impl fmt::Debug for Action {
|
|||
match self {
|
||||
#[cfg(all(feature = "cctk", target_os = "linux"))]
|
||||
Action::Wayland(action) => action.fmt(_f),
|
||||
#[cfg(not(feature = "wayland"))]
|
||||
#[cfg(not(all(feature = "cctk", target_os = "linux")))]
|
||||
_ => Ok(()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue