-
|
When I set any of the abi features the interface defined in My crate dep: On build: When I remove the feature flag I can build successfully. I've read #1474 but this discusses safe wrappers. Looking at the pyo3 source, it's not clear to me why the entire API becomes unavailable when a feature flag is set (I see various attrs that are feature gated for the applicable abi versions). I feel like I'm missing something obvious here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It's because those functions aren't part of the stable ABI, and the abi3 feature restricts you to stable features: https://docs.python.org/3/c-api/stable.html#contents-of-limited-api |
Beta Was this translation helpful? Give feedback.
It's because those functions aren't part of the stable ABI, and the abi3 feature restricts you to stable features: https://docs.python.org/3/c-api/stable.html#contents-of-limited-api