VIctory-LITE: Install failed (see the log) #31

Open
opened 2026-12-02 12:38:42 +00:00 by github-bot · 1 comment
Owner

@⁠CgattingPVF on GitHub · 2026-11-30 18:02 UTC · original

What happened

Launcher

  • VILauncher 2.1.0
  • CPU: AMD Ryzen 7 7735HS with Radeon Graphics
  • GPU: NVIDIA GeForce RTX 4060 Laptop GPU, AMD Radeon(TM) Graphics
  • Memory: 40 GB

Project

  • VIctory-LITE (vix0e0e/VIctory-LITE)
  • Last stage: Install failed (see the log)

Log (last 10 of 98 lines)

   --> crates\victory-gpu\src\host\panel.rs:298:25
    |
298 |                 let r = std::arch::x86_64::__cpuid(leaf);
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
    |
    = note: consult the function's documentation for information on how to avoid undefined behavior

For more information about this error, try `rustc --explain E0133`.
error: could not compile `victory-gpu` (lib) due to 1 previous error
ERROR: "cargo" ended with exit code: 101

The full report, with the whole log, is on your clipboard: paste it here in place of this one.

**@⁠CgattingPVF** on GitHub · 2026-11-30 18:02 UTC · [original](https://github.com/vix0e0e/VIctory-LITE/issues/31) ## What happened <!-- What did you do, and what did you expect? --> ## Launcher - VILauncher 2.1.0 - CPU: AMD Ryzen 7 7735HS with Radeon Graphics - GPU: NVIDIA GeForce RTX 4060 Laptop GPU, AMD Radeon(TM) Graphics - Memory: 40 GB ## Project - VIctory-LITE (`vix0e0e/VIctory-LITE`) - Last stage: Install failed (see the log) ## Log (last 10 of 98 lines) ```text --> crates\victory-gpu\src\host\panel.rs:298:25 | 298 | let r = std::arch::x86_64::__cpuid(leaf); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: consult the function's documentation for information on how to avoid undefined behavior For more information about this error, try `rustc --explain E0133`. error: could not compile `victory-gpu` (lib) due to 1 previous error ERROR: "cargo" ended with exit code: 101 ``` _The full report, with the whole log, is on your clipboard: paste it here in place of this one._
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 12:38:42 +00:00
Author
Owner

@⁠vix0e0e on GitHub · 2026-12-01 06:20 UTC · original

Fixed on main (commit 90dc8e0).

The install failed while compiling victory-gpu, not while installing anything: crates/victory-gpu/src/host/panel.rs called std::arch::x86_64::__cpuid outside an unsafe block. Rust 1.98.1 accepts that (the intrinsic was made safe), but the toolchain the launcher picked is older, where it is still an unsafe fn, so the build stopped at E0133.

The call now sits inside unsafe { } with #[allow(unused_unsafe)], so it compiles on both old and new stable toolchains, and the declared rust-version = "1.88" is met again.

Please pull main (7b26ecb or later), or re-run the launcher so it rebuilds, and the install should complete. If it still fails, paste the new log and the rustc --version it used.

**@⁠vix0e0e** on GitHub · 2026-12-01 06:20 UTC · [original](https://github.com/vix0e0e/VIctory-LITE/issues/31#issuecomment-7302759630) Fixed on `main` (commit `90dc8e0`). The install failed while compiling `victory-gpu`, not while installing anything: `crates/victory-gpu/src/host/panel.rs` called `std::arch::x86_64::__cpuid` outside an `unsafe` block. Rust 1.98.1 accepts that (the intrinsic was made safe), but the toolchain the launcher picked is older, where it is still an `unsafe fn`, so the build stopped at E0133. The call now sits inside `unsafe { }` with `#[allow(unused_unsafe)]`, so it compiles on both old and new stable toolchains, and the declared `rust-version = "1.88"` is met again. Please pull `main` (`7b26ecb` or later), or re-run the launcher so it rebuilds, and the install should complete. If it still fails, paste the new log and the `rustc --version` it used.
This discussion has been locked. Commenting is limited to contributors.
No description provided.