Alias request for `rustup`


#1

Hi,

I am experimenting with a rustup snap and in order for it to work usefully, we need to get all the rustup proxies onto the path for the user. This means a number of aliases (basically one per app exported by the snap):

  • cargo
  • cargo-clippy
  • cargo-fmt
  • cargo-miri
  • clippy-driver
  • rls
  • rustc
  • rustdoc
  • rustfmt

I appreciate this is a large number of aliases, but it’s kinda how Rust and rustup works :slight_smile:

Please let me know if I need to do more to make this request acceptable.

D.


#2

+1 from me; the aliases simply expose well-known Rust commands at the top level, and they all are pretty unique to Rust so there’s little to no chance of confusion.

  • Daniel

#3

+1 from me as well


#4

Discussing with @jdstrand, we agreed this looks reasonable. I’ve configured this and the aliases are now live (refresh the snap to get them)

  • Daniel