class

MStrap::RuntimeManagers::Rustup

Inherits MStrap::RuntimeManager / MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object

Instance methods

current_version(language_name : String) : String | Nil
Source
has_plugin?(language_name : String) : Bool

Returns whether the mise plugin has been installed for a language runtime or not

Source
install_plugin(language_name : String) : Bool
Source
install_version(language_name : String, version : String) : Bool
Source
installed_versions(language_name : String) : Array(String)

Returns a list of the versions of the language runtime installed by mise.

Source
latest_version(language_name : String) : String

Rustup doesn't support querying this, but "stable" is probably safe

Source
plugin_name(language_name : String) : String | Nil

Rust is the only language managed by rustup, so this is always "rust"!

Source
runtime_exec(language_name : String, command : String, args : Array(String) | Nil = nil, runtime_version : String | Nil = nil)

Execute a command using a specific language runtime version

Source
set_global_version(language_name, version : String) : Bool
Source
set_version(language_name : String, version : String | Nil) : Bool
Source
shell_activation(shell_name : String) : String
Source
supported_languages
Source