Skip to content

Commit

Permalink
fix wrong cfg gates
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jun 14, 2024
1 parent 58d179a commit a613c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v2/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// so logger output will not work.
// https://learn.microsoft.com/en-us/cpp/build/reference/subsystem-specify-subsystem
#![cfg_attr(
all(target_os = "windows", not(debug_assertions), not(__bench)),
all(target_os = "windows", not(debug_assertions), not(feature = "__bench")),
windows_subsystem = "windows"
)]

Expand Down
2 changes: 1 addition & 1 deletion v2/src/wry/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn metadata() -> AboutMetadata {
..Default::default()
};

#[cfg(not(target_os = "darwin"))]
#[cfg(not(target_os = "macos"))]
{
m.authors = Some(vec![env!("CARGO_PKG_AUTHORS").into()]);
m.comments = Some(env!("CARGO_PKG_DESCRIPTION").into());
Expand Down

0 comments on commit a613c0d

Please sign in to comment.