-
Notifications
You must be signed in to change notification settings - Fork 246
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
v0.3.74 fails to build on Windows #676
Comments
We don't use the The errors look like they come from our code that tries to validate that the APIs are correct (aisde: this code is probably redundant now we're not hand-writing anything). This is failing for you for some reason but not for our CI (or in the rust-lang/rust repo). My guess would be you're using the windows raw dylib environment variable and that's causing a difference somewhere. |
I can bisect it to specific commit tomorrow. |
Following up on my hunch it seems that the |
We add |
Bisected to #653 which added dependency of |
Non-Buck repro, as of the current master branch of this repo (4f3acf7):
|
Ah jogged my memory: this was because of microsoft/windows-rs#2458. Varargs weren't being correctly handled by rustc so this was a workaround. It's been fixed in rustc now but the MSRV of windows-related crates means it's unlikely to revert the workaround any time soon. So best thing to do would be to update our validation or remove them entirely if nobody can think of a reason why they're still needed. |
Here are the errors: backtrace-errors.txt
We are building project with buck2 but third party dependencies are resolved and vendored by cargo.
Is
windows-sys
dependency wrong?v0.3.73 and below work fine. Other platforms seems to be ok as well.
The text was updated successfully, but these errors were encountered: