danielparks / puppet-rustup

Puppet module to manage Rust with rustup
https://forge.puppet.com/modules/dp/rustup/readme
Other
0 stars 0 forks source link

Clarify *_list functions and use --installed #37

Closed danielparks closed 1 year ago

danielparks commented 1 year ago

Rename toolchain_list and target_list functions to toolchain_list_installed and target_list_installed for clarity.

Switch to calling rustup target list --installed rather than processing the output to find the installed targets. This also explicitly ignores errors rather than implicitly.