Skip to content

Commit 61ccbda

Browse files
committed
fix windows build
1 parent b7adeab commit 61ccbda

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub enum SubspaceCommand {
4848
#[arg(long, conflicts_with = "all_features")]
4949
no_default_features: bool,
5050

51+
#[cfg(not(target_os = "windows"))]
5152
/// Profiles the discover process and writes a flamegraph to the given path
5253
#[arg(long, hide = true)]
5354
flamegraph: Option<PathBuf>,

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ fn run_inner(command: SubspaceCommand, cargo_home: Option<PathBuf>) -> Result<()
5353
SubspaceCommand::Discover {
5454
all_features,
5555
no_default_features,
56+
#[cfg(not(target_os = "windows"))]
5657
mut flamegraph,
5758
arg,
5859
} => {

0 commit comments

Comments
 (0)