-
Notifications
You must be signed in to change notification settings - Fork 382
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
cross fails to recompile build script correctly when there are project changes #1014
Comments
Duplicate of #724, unfortunately, this isn't a |
@Alexhuszagh I've looked through the contents of the linked issues (thank you, by the way, I missed your open issue). On the subsequent build, the scripts look to have been recompiled, but cross didn't do it this time. |
We only execute |
I've updated that linked issue description to make the issue somewhat clearer, as well as possible solutions. |
@Alexhuszagh Ok but I'm not doing any other builds in between.. why do you think rustc is changing? |
do you have rust-analyzer or something else that builds the project in the background? |
yeah that's probably it... I'm using vscode and that plugin... can that work with cross? |
It can, it just makes it more likely to cause the above issue. It's unfortunate, since there's not much we can do about it (except exporting |
Checklist
Describe your issue
My first compile works great. I'm having it use a custom build ubi7 image with rustup installed.
I need an older version of glibc to link against.
When I edit a file and try to re-build, I get an error that the build script can't run because I don't have the correct glibc version:
I am doing this in WSL2(Ubuntu) in Windows 11
So it looks to me like something saw I needed to recompile stuff, re-compiled my build.rs on the host machine, and then tries to run it in the docker container.
What target(s) are you cross-compiling for?
x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.4 (8d8d84b 2022-09-08)
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: