Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker fails if the name of the library passed to .compile is the same as an external static library #1374

Open
Enduriel opened this issue Sep 17, 2024 · 0 comments

Comments

@Enduriel
Copy link

This was really difficult to debug for me as a complete newb to external rust bindings, though in hindsight it makes perfect sense. I would adjust part documentation for the Build::compile function from
must be unique across all compile invocations made by the same build script.
to
must be unique across all compile invocations made by the same build script and the names of any statically linked libraries

I wanted to make a PR for this but I have no idea where the documentation is actually written since a ctrl+f on 'must be unique' in the cxx repo returns nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant