PyO3 / pyo3

Rust bindings for the Python interpreter
https://pyo3.rs
Other
11.44k stars 693 forks source link

Linking error on macOS when using pyo3_special_method_derive #4263

Open EricLBuehler opened 2 weeks ago

EricLBuehler commented 2 weeks ago

Hello all and thanks for your great work here!

I am integrating support for pyo3_special_method_derive into mistral.rs, but there is a linking error. The linking error seems to only occur in the derived functions, and I can build on Linux. I have attached a link to the error in Github Actions and would appreciate any pointers to what may be causing this: https://github.com/EricLBuehler/mistral.rs/actions/runs/9553989761/job/26334426110