Closed mikedotexe closed 2 years ago
Or maybe we just need to update the cargo version
cosmwasm/rust-optimizer
ships a version of Rust. The Rust version in 0.12.3 is too low to support Rust edition2021. You can just upgrade to the latest version 0.12.6. See https://github.com/CosmWasm/rust-optimizer/blob/main/CHANGELOG.md
Closing as this is fixed in more recent versions of rust-optimizer/workspace-optimizer which ship more recent Rust versions. If you run into trouble with the latest version, please open a new ticket. Thanks!
I am not sure if this is my Rust setup, but I am consistently trying to run:
in the
cw-contracts
repo and getting:and indeed, I see the manifest has this: https://github.com/RustCrypto/formats/blame/7cadd9d3696b6ec06b79281e08805625dd8f3187/base64ct/Cargo.toml#L16
but that's been there for 10 months, so maybe that's not as new as I'd think.
Anyway, writing this issue but again, not positive if it's my setup.