Skip to content

Commit

Permalink
ffi: remove with_thread cfg
Browse files Browse the repository at this point in the history
Since dropping Python 3.6 there isn't a WITH_THREAD build flag; just noticed this and tidying up.
  • Loading branch information
davidhewitt authored May 5, 2022
1 parent f6daa8d commit 721b45c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyo3-ffi/src/cpython/pystate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ extern "C" {
#[cfg(not(PyPy))]
pub fn PyThreadState_Next(tstate: *mut PyThreadState) -> *mut PyThreadState;

#[cfg(py_sys_config = "WITH_THREAD")]
#[cfg_attr(PyPy, link_name = "PyPyThreadState_DeleteCurrent")]
pub fn PyThreadState_DeleteCurrent();
}
Expand Down

0 comments on commit 721b45c

Please sign in to comment.