Skip to content

Commit

Permalink
Allow false positive clippy::unnecessary-wraps lint
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored and davidhewitt committed May 15, 2022
1 parent f05cc91 commit 1149dcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3-build-config/src/impl_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ print("mingw", get_platform().startswith("mingw"))
})
}

#[allow(clippy::unnecessary_wraps)]
pub fn fixup_import_libs(&mut self) -> Result<()> {
let target = target_triple_from_env();
if self.lib_name.is_none() && target.operating_system == OperatingSystem::Windows {
Expand Down

0 comments on commit 1149dcf

Please sign in to comment.