Skip to content

Commit

Permalink
Merge pull request #154 from 0323pin/main
Browse files Browse the repository at this point in the history
Please don't exclude support for NetBSD
  • Loading branch information
kyoheiu authored Dec 3, 2022
2 parents 406c666 + 366019d commit e71e5a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ flate2 = "1.0.24"
lzma-rs = "0.2.0"
zstd = "0.11.2"

[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(any(target_os = "linux", target_os = "netbsd"))'.dependencies]
nix = {version = "0.25.0", features = ["process"]}

[dependencies.serde]
Expand Down
2 changes: 1 addition & 1 deletion src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl State {
}
}

#[cfg(target_os = "linux")]
#[cfg(any(target_os = "linux", target_os = "netbsd"))]
/// Open the selected file in a new window, according to the config.
pub fn open_file_in_new_window(&self) -> Result<(), FxError> {
let item = self.get_item()?;
Expand Down

0 comments on commit e71e5a2

Please sign in to comment.