Rust plugin using old rustup link

Bug #1662960 reported by Chris Holcombe
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

The rust snappy plugin is now using an older version of rustup. The project has been moved to https://rustup.rs. I'll file a PR to fix this

Changed in snapcraft:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Chris Holcombe (xfactor973)
milestone: none → 2.27
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1662960] Re: Rust plugin using old rustup link

While we are on it, would it make sense to get rustup snapped? We should
professionalise that curl | sudo bash part ;)

Mark

Revision history for this message
Chris Holcombe (xfactor973) wrote :

Yeah I think that gets me out of the jam. When rustup was migrated from a bash script over to a rust binary it lost the ability to be installed in a prefix directory. Installing from a snap would resolve that problem. It would also resolve the issue of having to choose the right binary for the architecture being used.
#snappy said to watch this bug https://bugs.launchpad.net/snapcraft/+bug/1616985. They're going to do a similar thing where they install a snap to help the plugin complete its work.

Changed in snapcraft:
milestone: 2.27 → 2.28
Changed in snapcraft:
milestone: 2.28 → none
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I'm suspecting this is no longer in progress?

Revision history for this message
Leo Arias (elopio) wrote :

The address https://static.rust-lang.org/rustup.sh now has a 301 redirect to https://sh.rustup.rs/
 so this issue was fixed by itself. However, now that snapcraft uses the new rustup it comes with different command line arguments and causes #1809259.

Changed in snapcraft:
assignee: Chris Holcombe (xfactor973) → Sergio Schvezov (sergiusens)
milestone: none → 3.1
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
milestone: 3.1 → 3.1.1
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.