-
Notifications
You must be signed in to change notification settings - Fork 1k
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
libc test builds two different versions of libc #3234
Comments
0.2.143 will fix this. |
Ah, I have more changes to make to the libc crate, but need to be able to test properly. Is there no way for |
I'm not sure if I understand your argument correctly, but wouldn't just cloning the repo and running the test on it be sufficient? Like: libc = { path = "../libc" }
# or, if you prefer using a remote repo
libc = { git = "https://your-fork/your-remote-repo.git" } |
in libc/libc-test/Cargo.toml:
But during build, I'm assuming some dependency is pulling in Is the libc-test sub-directory not meant to be used directly for |
You have to add them under |
I tried that in the sub directory, but it seemed to have no effect. Is that maybe because it's part of a workspace? |
I don't have your workspace and cannot provide further directions, unfortunately :( I'd suggest reading the above docs more and investigating further (also, I think it's not a libc issue anymore but Cargo's usage). |
In output:
At least on Haiku, this causes a linking error as the current libc on crates.io hasn't been updated with a fix to a linking issue, which has been fixed in my local repo (and has landed here, a new release hasn't been cut yet).
The text was updated successfully, but these errors were encountered: