pyo3-ffi: forward `extension-module` feature to `pyo3-build-config`

This commit is contained in:
messense 2022-04-16 23:13:06 +08:00
parent 1276068891
commit 97a9121025
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ pyproto = ["pyo3-macros/pyproto"]
# Use this feature when building an extension module.
# It tells the linker to keep the python symbols unresolved,
# so that the module can also be used with statically linked python interpreters.
extension-module = ["pyo3-build-config/extension-module", "pyo3-ffi/extension-module"]
extension-module = ["pyo3-ffi/extension-module"]
# Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for more.
abi3 = ["pyo3-build-config/abi3", "pyo3-ffi/abi3", "pyo3-macros/abi3"]

View File

@ -21,7 +21,7 @@ default = []
# Use this feature when building an extension module.
# It tells the linker to keep the python symbols unresolved,
# so that the module can also be used with statically linked python interpreters.
extension-module = []
extension-module = ["pyo3-build-config/extension-module"]
# Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for more.
abi3 = ["pyo3-build-config/abi3"]