Bump toolchain and rust_version to 1.89.0#181
Conversation
|
Would like to migrate both toolchain and |
|
The rationale for using an older toolchain is that we keep compatibility with platform-tools' Rust version, which is what on-chain programs are compiled with. If we bump the requirement then we can't use the latest version of wincode in programs. |
|
I see, this PR doesn't strictly break it, but I guess we want some test coverage for the older toolchain. |
Does the wincode version have to match the platform tools Rust version exactly ? Platform tools is not the only consumer of wincode so having wincode Rust version coupled to platform tools Rust version is not ideal. Some other questions about platform tools:
|
Generally, we probably don't want to bump MSRV (and thus create a new major) every time new stable rust drops. However, edition is once every couple years so probably reasonable to bump it to pick up the new edition and then leave it alone for a while. Let's see what |
It does not need to be an exact match, but if we want to use wincode in programs we sort of need to be conservative in what version we can use. Currently we are using
They do not follow every release, e.g.,:
platform-tools is independent of wincode. The requirement is that we use platform-tools to compile programs, so any program is limited by the bundled Rust version. If we increase the requirement, then we can't use a particular wincode version in programs. A new version of platform-tools ( |
steviez
left a comment
There was a problem hiding this comment.
I see the PR is still in draft state - anything else to do here before reviewing ?
|
Waiting for CI mostly. But I wonder if we should land it on 0.4 line or wait until we are ready to release (including breaking changes) 0.5. |
Hmm, good point; this does seem like something we'd want to put in a "major" (actually a minor b/c we're in |
|
This should be good to merge now |
We are using old toolchain, no harm in building with newest stable version, we set
rust-versionseparately.