-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
playdate-sys
causes rust to always rebuild everything, even when nothing has changed
#177
Comments
If you're using If you're building just Little workaround to speed-up build time:
So now build script will execute your installed pd-bindgen, and cargo will not compile it for If you have any idea how to improve it or fix |
@jcornaz, could you please try to build with |
Thanks for the help.
Here are my lines containing
|
Hm... probably my mistake in this two lines:
I'll try without it, by absolutely not sure. 🤷🏻♂️ |
Bump. This unnecessarily adds a 10 second delay to I removed [these two lines]: (5729acf)
But that wasn't enough, something is still triggering a rebuild on each invocation. Let me know if you have alternate suggestions or if I can help troubleshoot in anyway. |
I almost sure there is need to dramatically tune Also if it's not
It can be tested with [env]
PLAYDATE_SDK_PATH = "/path/to/PlaydateSDK-xxx" requires nightly |
If you want to try some, rename there |
@notpeter, |
@notpeter I’m just clarifying. Is the problem reproduced without using |
I was using cargo-playdate to build/run, is there documentation or an example of how to build without it? |
Nonono, I was just wondering if the
The tool |
One more workaround - set another target-directory, add argument |
Found this - rust-analyzer #14722. |
Finally I've got it. It's not a |
I mean that main problem is in the |
Have been closed automatically by a mention. @jcornaz, @notpeter, Please try the latest beta 6. |
Well, now |
Hi,
Usually, working with rust
cargo
only needs to recompile the crates that have changed and their dependent crates.But it looks like
playdate-sys
causes a full rebuild everything, even when nothing has changed at all.I am not sure what's the exact cause of this. But I assume it's due to one of the
rerun-if-changed
in theplaydate-sys
build script?The text was updated successfully, but these errors were encountered: