Skip to content

Commit 20f3606

Browse files
committed
Re-enable subinterpreters in iOS
1 parent e31ec0b commit 20f3606

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/pybind11/detail/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256

257257
// Slightly faster code paths are available when PYBIND11_HAS_SUBINTERPRETER_SUPPORT is *not*
258258
// defined, so avoid defining it for implementations that do not support subinterpreters. However,
259-
// defining it unnecessarily is not expected to break anything (other than old iOS targets).
259+
// defining it unnecessarily is not expected to break anything.
260260
// This can be overridden by the user with -DPYBIND11_HAS_SUBINTERPRETER_SUPPORT=1 or 0
261261
#ifndef PYBIND11_HAS_SUBINTERPRETER_SUPPORT
262262
# if PY_VERSION_HEX >= 0x030C0000 && !defined(PYPY_VERSION) && !defined(GRAALVM_PYTHON)

tests/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ pyodide.test-groups = ["numpy", "scipy"]
3333
ios.test-groups = ["numpy"]
3434
ios.xbuild-tools = ["cmake", "ninja"]
3535
ios.environment.PIP_EXTRA_INDEX_URL = "https://pypi.anaconda.org/beeware/simple"
36-
ios.config-settings."cmake.define.CMAKE_CXX_FLAGS" = "-DPYBIND11_HAS_SUBINTERPRETER_SUPPORT=0"
36+

0 commit comments

Comments
 (0)