Commit Graph

3 Commits

Author SHA1 Message Date
Ludovic Marie 519edfac19 docs: native mods in the launcher window
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:06:21 +01:00
Ludovic Marie 727f6c932a docs/native-mods.md: the measured build times and sizes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:54:36 +01:00
Ludovic Marie 7f3bd901bc Launcher: build native mods on the Nightly they pin, with its own Rust
horizon-launcher native-build FOLDER --trust-native-code compiles mixin bundles (a folder with a
horizon-mixin.toml, or an unpacked .hnmod from the registry) into a game of their own:
- the Horizon commit the mods pin (all must agree; else the installed version's), its source from
  GitHub by commit (Nightlies keep theirs as nightly-source/ tags);
- horizon-mixins at the commit the mods were tested with, built once with the launcher's Rust;
- horizon-mixins apply, then the release's cargo build, with the portable toolchain;
- installed as native-<commit>-<key>, played by the Native mods instance.
Based on native-mixins-1's unmerged work; docs/native-mods.md describes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:43:52 +01:00