Launcher: a portable Rust toolchain of its own, for native mods
Native mods compile the game on the player's computer (levzzz5154: many native mods per build). The launcher now downloads the official rustc, cargo and rust-std components of Rust 1.99.1 (plus rust-mingw on Windows, the windows-gnu host that needs no Visual Studio) from static.rust-lang.org, each pinned by SHA-256, into <launcher data>/rust/, and runs them with its own CARGO_HOME. No rustup, nothing installed on the system. `horizon-launcher rust status|install|remove`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -763,6 +763,30 @@ Turn off a mod the browser installed; it stays installed.
|
||||
|
||||
MCP: `mods_disable`.
|
||||
|
||||
## `horizon-launcher rust status`
|
||||
|
||||
Whether it is installed, its version and whether this computer can link with it.
|
||||
|
||||
horizon-launcher rust status
|
||||
|
||||
MCP: `rust_status`.
|
||||
|
||||
## `horizon-launcher rust install`
|
||||
|
||||
Download the pinned toolchain from static.rust-lang.org (once), checked by SHA-256.
|
||||
|
||||
horizon-launcher rust install
|
||||
|
||||
MCP: `rust_install`.
|
||||
|
||||
## `horizon-launcher rust remove`
|
||||
|
||||
Delete the toolchain and the native builds' Cargo home.
|
||||
|
||||
horizon-launcher rust remove
|
||||
|
||||
MCP: `rust_remove`.
|
||||
|
||||
## `horizon-launcher servers list`
|
||||
|
||||
The servers, their folder and whether they run.
|
||||
|
||||
Reference in New Issue
Block a user