Skip to content

Verus toolchain at HEAD (8a2bbf6) has librustc_driver .so mismatch #18

@avrabe

Description

@avrabe

Problem

Bumping rules_verus from 6e03a1d to 8a2bbf6 (HEAD) in Gale's MODULE.bazel causes the Verus verifier to fail at runtime:

rust_verify: error while loading shared libraries: librustc_driver-90863c8161c83a53.so: cannot open shared object file: No such file or directory

The Verus toolchain bundled at 8a2bbf6 expects a Rust librustc_driver version that doesn't match what's installed on the CI runner (GitHub Actions ubuntu-22.04 with rustup stable).

Context

Gale tried to adopt the verus_strip + verus_strip_test rules added in the 8a2bbf6 range (PR #7). The strip rules themselves work, but the Verus verifier toolchain (verus_toolchains_x86_64_unknown_linux_gnu/rust_verify) shipped alongside them has the .so mismatch.

Reverted to 6e03a1d for now: pulseengine/gale@72eefdb

Expected

The rules_verus toolchain should either:

  1. Bundle a compatible librustc_driver, or
  2. Document which Rust toolchain version is required (e.g., rust-toolchain.toml), or
  3. Dynamically link against the host's librustc_driver

Environment

  • Runner: ubuntu-22.04 (GitHub Actions)
  • Rust: stable (installed via rustup)
  • Bazel: 7.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions