Skip to content

Commit f31f47c

Browse files
committed
feat: support free-threaded python build
1 parent ed1ae6b commit f31f47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ impl PyTransformAdapt {
13921392
}
13931393

13941394
/// A Python module implemented in Rust.
1395-
#[pymodule]
1395+
#[pymodule(gil_used = false)]
13961396
pub fn _lib(m: &Bound<'_, PyModule>) -> PyResult<()> {
13971397
m.add_class::<PySampler>()?;
13981398
m.add_class::<PyMcModel>()?;

0 commit comments

Comments
 (0)