Merge pull request #180 from delibae/fix/pin-rust-1941-linux

fix: pin Rust 1.94.1 on Linux build
This commit is contained in:
Hanjin Bae 2026-06-09 15:03:08 +09:00 committed by GitHub
commit c8c443f419
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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