We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue is to track how to solve circular reference link error under Linux.
MacOS(llvm-lld) is OK to handle the circular references while linking.
GCC reuqire that you put the object files and libraries in the order that they depend on each other.
ld accepts the following options:
-( archives -) --start-group archives --end-group The specified archives are searched repeatedly until no new undefined references are created.
Yet, rust won't wrap user-defined in repeated search group.
Use lld under Linux:
RUSTFLAGS="-C link-arg=-fuse-ld=lld" cargo test
Use shell wrapper: #12
The text was updated successfully, but these errors were encountered:
lld works. never mind.
lld
Sorry, something went wrong.
No branches or pull requests
This issue is to track how to solve circular reference link error under Linux.
MacOS(llvm-lld) is OK to handle the circular references while linking.
GCC reuqire that you put the object files and libraries in the order that they depend on each other.
ld accepts the following options:
Yet, rust won't wrap user-defined in repeated search group.
Option 1
Use lld under Linux:
Option 2
Use shell wrapper: #12
The text was updated successfully, but these errors were encountered: