-
Notifications
You must be signed in to change notification settings - Fork 235
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
Make all clippy-suggested functions const #296
Conversation
Tested with |
Build failed, some of them can't be
|
Segfault in |
Yes that's weird. I've restarted it, let's see if it still segfaults. |
It happens locally for me too, and I can see some similar issues related to segfaults while compiling to wasm. Maybe an issue with llvm + const? |
Yeah probably. Will see if I have time later this weekend to figure out which 'const' is the one triggering this segfault. |
BTW, could you reproduce the crash with 1.54 or did you only try the latest version? |
It only happens under nightly for me, 1.54 and stable both compile fine |
Maybe your stable isn't 1.61, because that's what CI is using and it crashed both times. |
My stable is 1.60, so I think that's correct. I've filed an issue about the crash at rust-lang/rust#97222 |
Seems like this crash is unrelated to your PR. I've created a new PR to use an older version of rustc when building the JS stuff, if that builds successfully I'll merge this. |
Thanks, merged it! |
Addresses #237