-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update sys-info to v0.9 #16
Update sys-info to v0.9 #16
Conversation
This is failing in the gcc windows build |
Omg, is this serious? 🤦
@rbtcollins Is it okay if I'll try to upgrade the version of mingw used for the CI to at least 6.3.0? |
Go for it
…On Tue, 8 Jun 2021, 22:48 Alexander Ovchinnikov, ***@***.***> wrote:
Omg, is this serious? 🤦
warning: c/windows.c: In function 'get_cpu_speed':
warning: c/windows.c:71:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
warning: for (unsigned int i = 0; i < num; i++) {
warning: ^
warning: c/windows.c:71:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
@rbtcollins <https://github.com/rbtcollins> Is it okay if I'll try to
upgrade the version of mingw used for the CI to at least 6.3.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADZ7XWDMCWYTWGS7QEF3ELTRZ62DANCNFSM45BCHNFA>
.
|
@rbtcollins Done! Seems to run on my fork. I've used the same mingw packages as rustup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems okay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I've just realied this is editing the workflow files directly rather than via the template, I'll fix that up.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Oh, sorry, I didn't realize there was a template 😬 Thanks for fixing this up! |
@Alovchin91 Yeah this is borrowed from Rustup's CI, each file does have a comment like:
at the top, but that's easy to miss :/ |
This PR updates sys-info dependency to v0.9 which improves Windows support to be arch-independent and enables building rustup for Windows on ARM64: rust-lang/rustup#2612
This is a re-post of this PR: #14
Should also help with #15