Skip to content

Commit

Permalink
merge linux and freegsd support
Browse files Browse the repository at this point in the history
  • Loading branch information
hayashi_mas committed May 30, 2024
1 parent 100f206 commit f5cdcd9
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 f5cdcd9

Please sign in to comment.