mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix new Clippy lints
This commit is contained in:
@@ -24,7 +24,7 @@ pub fn exported<P: AsRef<Path>>(binary: P, symbol: &str) -> Result<bool> {
|
||||
};
|
||||
|
||||
// XXX: Why are all exported symbols on macOS prefixed with an underscore?
|
||||
let symbol = format!("_{}", symbol);
|
||||
let symbol = format!("_{symbol}");
|
||||
|
||||
Ok(obj.exports()?.into_iter().any(|sym| sym.name == symbol))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user