Skip to content

Commit

Permalink
Work around PyO3/pyo3#2555 and remove stale allow.
Browse files Browse the repository at this point in the history
[ci skip-build-wheels]
  • Loading branch information
stuhood committed Aug 16, 2022
1 parent 29cd22f commit db25569
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/rust/engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]
// We only use unsafe pointer dereferences in our no_mangle exposed API, but it is nicer to list
// just the one minor call as unsafe, than to mark the whole function as unsafe which may hide
// other unsafeness.
#![allow(clippy::not_unsafe_ptr_arg_deref)]
// TODO: See https://github.com/PyO3/pyo3/issues/2555
#![allow(clippy::borrow_deref_ref)]
#![type_length_limit = "43757804"]

#[macro_use]
Expand Down

0 comments on commit db25569

Please sign in to comment.