Linking error on macOS when using pyo3_special_method_derive
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 1k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 66
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked GitHub Actions job and compare the macOS failure with the successful Linux build. Trace the integration of pyo3_special_method_derive in mistral.rs, focusing on why the linker error appears only in derived functions. Done means identifying the cause and documenting or implementing an actionable fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, python, rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100