-
Notifications
You must be signed in to change notification settings - Fork 989
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
Cannot build with rustc 1.34 due to smallvec's use of unstable library #3192
Comments
Looks like 1.36.0 is where the MaybeUninit API was stabilized: https://github.com/rust-lang/rust/blob/master/RELEASES.md this is probably why we get errors in 1.34.0 for these libs but not in 1.37.0. Looks like deprecation of uninitialized is set for 1.39.0. |
Not saying that it does not need to be reverted but why not install rust 1.40 on Debian with rustup (which is the recommended way)? @dagonharett |
@cadwgan0 Thanks a lot for looking into it. @quentinlesceller On a system that must be maintained long-term, I try as much as I can to install all software through the distro's package manager. That way the origin of all files on disk is known and can be queried. Tasks like removing old unused software or freeing up disk space become much easier. |
This is a good time to discuss should we introduce min supported version or not. So far it has been the latest stable, which was nice for devs, but not for users. |
@hashmap Yes, having a clear policy on this would come handy. I would urge you to keep |
Added as a discussion point to agenda of the Jan 21 dev meeting in Keybase #dev-channel: |
Update from the meeting was a decision not to support a minimum version of rust (for now), rationale as per the meeting notes: Those who cannot use later versions of Rust to build their own binaries are encouraged to use pre-compiled binaries, with the sincere hope that this doesn't cause too many issues for users. |
Thanks for the update @lehnberg |
The build requirements list
1.34
as the minimum rust version required to build grin. Unfortunately current master (8568c77) can no longer be built with it.Part of the issue was solved thanks to @cadwgan0 effort at #3190. Unfortunately some other issues remain, related to dependency libraries.
Building with rustc
1.37
works. However, keeping grin compatible with rustc1.34
would be much handy for the time being, as that's the rust version available on Debian stable (Debian 10 buster).Here follows the compile errors I get with rustc
1.34
:The text was updated successfully, but these errors were encountered: