Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

wrangler 1.19.3 requires at least Rust 1.53.0 to build #2076

Closed
mattlockyer opened this issue Sep 17, 2021 · 6 comments
Closed

wrangler 1.19.3 requires at least Rust 1.53.0 to build #2076

mattlockyer opened this issue Sep 17, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@mattlockyer
Copy link

🐛 Bug report

Tried to update wrangler using cargo

Describe the bug

image

Reproduce the bug

A list of steps to reproduce the bug.

Try to update wrangler using cargo on ubuntu 20.04

Expected behavior

It updates

Environment and versions

Above

@mattlockyer mattlockyer added the bug Something isn't working label Sep 17, 2021
@jyn514
Copy link
Contributor

jyn514 commented Sep 17, 2021

@mattlockyer arrays implement IntoIterator starting in 1.53: https://github.com/rust-lang/rust/blob/master/RELEASES.md#libraries-2

cc @Electroid, I don't know what the policy about support Rust versions is for wrangler.

@mattlockyer
Copy link
Author

My fault, must be time to upgrade 😏

@jyn514 jyn514 changed the title Latest Wrangler Build Failed wrangler 1.19.3 requires at least Rust 1.53.0 to build Sep 17, 2021
@mattlockyer
Copy link
Author

Confirmed, installed successfully. Sorry forgot to include my version number in the OP.

@mikekasprzak
Copy link

There really needs to be an error prompt saying you need a new version of Rust before it builds 400 packages.

@jyn514
Copy link
Contributor

jyn514 commented Sep 21, 2021

Cargo is about to stabilize rust-version in Cargo.toml for 1.56: rust-lang/cargo#9732
But it won't help for any toolchains earlier than that; cargo doesn't give us a way to run code before dependencies are built.

@mikekasprzak
Copy link

mikekasprzak commented Sep 21, 2021

That's good to hear. Better than never doing it, but in the short term I guess others will have to make the same mistake as I.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants