Skip to content

Commit

Permalink
Merge pull request #251 from mh-northlander/feature/merge-os-support
Browse files Browse the repository at this point in the history
merge linux and freebsd support
  • Loading branch information
mh-northlander authored Jun 3, 2024
2 parents 707e1bf + f5cdcd9 commit 7591817
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions sudachi/src/plugin/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ struct PluginLoader<'a, 'b, T: PluginCategory + ?Sized> {
plugins: Vec<<T as PluginCategory>::BoxType>,
}

#[cfg(target_os = "freebsd")]
fn make_system_specific_name(s: &str) -> String {
format!("lib{}.so", s)
}

#[cfg(target_os = "linux")]
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
fn make_system_specific_name(s: &str) -> String {
format!("lib{}.so", s)
}
Expand Down

0 comments on commit 7591817

Please sign in to comment.