Skip to content

ViceLauncher 1.1.6

Choose a tag to compare

@LuckyHead11 LuckyHead11 released this 29 Nov 20:42
· 21 commits to main since this release

ViceLauncher 1.1.6

One Linux build failure, chased to its root: the compiler cargo was told to use was not always the
one it expected.

The build now uses rustc from cargo's own toolchain

Cargo records a compiler version with every artifact and refuses any that has none —
found crate … compiled by <unknown rustc version> — and clearing the cache cannot fix it, because
the next rebuild writes the same thing. It happens when the rustc cargo is handed is not the
compiler it expects: a RUSTC exported in the shell (common on Arch, where a distro rust lives in
/usr/bin next to rustup's), a RUSTC_WRAPPER, or build.rustc in ~/.cargo/config.toml.

For a Windows build the launcher now takes the rustc that sits beside the cargo it chose and passes
it explicitly, so neither the shell nor a config file can point the build at another compiler. If one
is set, the log says it is being ignored. If that rustc does not answer rustc -vV with a release:
line, the install stops at once with a clear message instead of compiling for ten minutes.

A retry never reuses the failed cache

Clearing app/target was not always enough — a cache can survive as a link, an odd mount, or a file
that would not be removed. The retry now builds with CARGO_TARGET_DIR=<port>/build-target, a folder
that has never held those artifacts, and logs where. Artifacts are then taken from wherever cargo
actually wrote them.

The messages tell you which case it is

  • 15 GB of free space is required before a source build, not 8; the old floor let a build fill the
    disk and leave truncated artifacts every later attempt tripped over.
  • unknown rustc version is reported as an unreadable cache, with free space measured before and
    after the clear.
  • Every failure now carries cargo --version, rustc -V, RUSTC, RUSTC_WRAPPER,
    CARGO_BUILD_RUSTC, RUSTUP_TOOLCHAIN and the rustc on PATH — one report is enough to name
    the cause.

Upgrading

1.1.5 installs are offered this build by the launcher. Settings, ports, saves, presets and reports
are kept. A source port rebuilds once; its old target may be replaced by build-target.

Downloads

  • ViceLauncher-Setup-1.1.6.exe — Windows installer, per user, no admin.
  • ViceLauncher-1.1.6-win-x64-portable.zip — Windows portable folder.
  • ViceLauncher-1.1.6-linux-x86_64.AppImage and …-linux-x86_64.tar.gz — Linux, with their
    SHA256SUMS.