Rebuild native mods

A native build uses the instance's pinned Sunrise commit. Editing or disabling a mod rebuilds the mods against that same prebuilt SDK. A mod made for another commit is built when it fits this one (What the launcher does, the rule); building never repins a mod.

From Sunrise's modding bookead8a1e

Update the base

native-build --update selects a newer installed release or Nightly and checks every mod against it. A build without a published SDK says it has no mod tools yet; use a build that has them.

Toolchain and storage

The launcher uses its pinned Rust toolchain, not the player's Rust installation. It isolates compiler flags, Cargo configuration and target settings from the player's environment. Build inputs and outputs stay in managed launcher storage. On Windows the build tools require paths the linker can open; the launcher chooses a managed ASCII path when necessary.

Edit this page on GitHub · Spotted something wrong? Open an issue or ask on Discord.