-
Notifications
You must be signed in to change notification settings - Fork 63
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
Upgrade rust toolchain #3522
base: master
Are you sure you want to change the base?
Upgrade rust toolchain #3522
Conversation
3186421
to
2bf3d9a
Compare
…anual_inspect` lints
…ter_doc_comments`, `unnecessary_map_or`, `unnecessary_first_then_check` and `useless_conversion` lints
…tr_arg` and `unnecessary_map_or` lints
…continuation`, `ptr_arg`, `unnecessary_map_or`, `needless_lifetimes`, `literal_string_with_formatting_args`, `manual_unwrap_or_default` and dead code lints and remove `lazy_cell` feature flag
…e code to pass `empty_line_after_doc_comments`, `needless_lifetimes` and `manual_div_ceil` lints
…h the new and old toolchain
…rror with rkyv `Serialize` and `Deserialize` derives
2bf3d9a
to
00d46db
Compare
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.
LGTM overall
Some stuff to clarify before approval
@@ -2,7 +2,7 @@ all: wasm clippy | |||
|
|||
wasm: ## Generate the optimized WASM for the contract given | |||
@RUSTFLAGS="$(RUSTFLAGS) --remap-path-prefix $(HOME)= -C link-args=-zstack-size=65536" \ | |||
cargo build \ | |||
cargo +dusk build \ |
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.
Why did you changed to use dusk compiler?
It should work with standard compiler
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.
The new toolchain can't compile piecrust-uplink
anymore because of changes made to the panic handler in rust 1.81.0.
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.
So, should we first update piecurst?
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.
We can.
We don't need to do that right now if all the contracts use the dusk toolchain, but if we do decide to do that, then the dusk toolchain, too, will need to be updated.
For #3470