From e9f62a3cd4438632c3c8c1bfcbb408c7a7d362a4 Mon Sep 17 00:00:00 2001 From: Hanjin Bae Date: Tue, 9 Jun 2026 15:03:03 +0900 Subject: [PATCH] fix: pin Rust 1.94.1 on Linux to match v1.1.6 build environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rust 1.95+ introduced two incompatibilities with our vcpkg setup: 1. rust-lld as default linker — errors on graphite2 hidden symbols 2. New version script format — incompatible with ld.bfd Pin to 1.94.1 (the version used in the successful v1.1.6 build) instead of working around individual linker issues. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-desktop.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 71b5e0a..6172f13 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -484,7 +484,10 @@ jobs: path: ~/vcpkg/installed key: vcpkg-linux-x64-v1 - - uses: dtolnay/rust-toolchain@stable + # Pin Rust to 1.94.1 on Linux — Rust 1.95+ enables rust-lld which errors + # on vcpkg graphite2's hidden symbols, and generates version scripts + # incompatible with ld.bfd. + - uses: dtolnay/rust-toolchain@1.94.1 with: targets: x86_64-unknown-linux-gnu @@ -508,9 +511,6 @@ jobs: TECTONIC_DEP_BACKEND: vcpkg CXXFLAGS: "-std=c++17" CFLAGS: "" - # Rust 1.95+ enables rust-lld by default on Linux, which errors on - # vcpkg graphite2's hidden symbols. Disable it to use cc/ld.bfd as before. - RUSTFLAGS: "-Clinker-features=-lld" run: pnpm --filter @claude-prism/desktop tauri build --target x86_64-unknown-linux-gnu - name: Collect updater artifacts