-
Notifications
You must be signed in to change notification settings - Fork 399
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 to Rust 2018 #184
Update to Rust 2018 #184
Conversation
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.
Rest LGTM, just worried about the changes to eraftpb.rs
.
I've updated generate-proto.sh to rerun cargo fix so we don't lose the changes. |
@nrc Great, that solves that problem! |
LGTM |
Rebased, reviewed, ready to merge |
@nrc Builds are failing at the moment. :( |
The toolchains tested on CI are specified in their own ways, so this is only used for local builds where developers. Its better for developers not to have this file around in case they have their own preferences.
@Hoverbear fixed! |
Forcing merge with LGTMs from me and @brson (there was a rebase) |
* Regenerate Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Update to Rust 2018 (#184) * Migrate to Rust 2018 * Remove rust-toolchain file The toolchains tested on CI are specified in their own ways, so this is only used for local builds where developers. Its better for developers not to have this file around in case they have their own preferences. (cherry picked from commit addddd2) Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Migration leftovers Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Fix compilation errors under `src` Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Fix most test failings Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Remove some unintentional changes produced by careless merging Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Use tikv/protobuf-build#3 Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Fix warning Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Fix tests Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Bump protobuf-build to 0.4.2 Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Address some warnings (#219) Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Address comments: add `Codec` back, replace protobuf version with 2 Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Address nightly warnings Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Remove the whole `cfg_attr` Signed-off-by: ice1000 <ice1000kotlin@foxmail.com>
The first commit is the update, it is all pretty straightforward. The second commit removes the rust-toolchain file because I think it is a better developer experience not to have it checked in.
@Hoverbear @brson PTAL