-
Notifications
You must be signed in to change notification settings - Fork 37
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
Scroll 0.9.1 doesn't compile under Rust 1.25.0 due to i128 #40
Comments
build.rs could automatically define a feature for the rust version and use that to enable i128 support, similar to what the rand crate does. |
goddamnit; should i yank and publish as 0.10? |
I broke goblin too so that's great also :/ |
Would you be interested in a PR implementing @philipc's idea? That would require adding a build.rs file, but it can follow rand's version which is pretty simple. |
Maybe; I'd almost prefer to publish a 0.10.0 and let everyone wait until they upgrade/the new edition comes out, and then say it requires 2018; but anyway, i also don't see how that build.rs would fix things? I imagine it's more involved? |
not sure if yanking and publishing 0.10.0 would work though; also no sure how i ever published a newer version because scroll has a circular dependency on itself, heh. |
Ok, published 0.9.2; cranelift-faerie is compiling again, thanks to everyone helping out here! |
Scroll requires 1.20 now; we'll remove the build script once rust 2018 edition is out, and require rust 2018 |
Cranelift currently supports compiling with Rust 1.25.0, and it uses Faerie which uses Scroll. The Scroll 0.9.1 update doesn't compile under Rust 1.25.0, since it uses i128, added in #32, which isn't supported in that version of Rust.
Sample compilation error
I can work around this for now by just fixing the dependency to scroll 0.9.0, and I'll look into other options on Cranelift side, but I'm interested if you have any ideas here too.
The text was updated successfully, but these errors were encountered: