Skip to content

Commit

Permalink
fix nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Nov 2, 2024
1 parent 55629f0 commit d5ba475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/err/err_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub(crate) struct PyErrState {
// handed out as a reference.
unsafe impl Send for PyErrState {}
unsafe impl Sync for PyErrState {}
#[cfg(feature = "nightly")]
unsafe impl crate::marker::Ungil for PyErrState {}

impl PyErrState {
pub(crate) fn lazy(f: Box<PyErrStateLazyFn>) -> Self {
Expand Down

0 comments on commit d5ba475

Please sign in to comment.