Skip to content

whisper build fails on LLVM 22 machines (Arch) — re-pin whisper-rs-sys once upstream PR merges #88

Description

@BonesGit

Symptom

npm run build on a machine with libclang ≥ 22 (Arch Linux) fails in whisper-rs-sys with E0080 — bindgen 0.71.1 can't parse _IO_FILE / whisper_full_params under the new LLVM 22 AST, emits 1-byte stubs, and the layout assertions overflow.

Root cause & fix (upstream)

Vector-side follow-up (this is what this issue tracks)

After PR #2 merges into VectorPrivacy/whisper-rs:master:

  1. cd src-tauri && cargo update -p whisper-rs-sys — re-pin Cargo.lock from eb61d3d8 to the new master commit (cargo keeps the old pinned commit by itself).
  2. Commit the Cargo.lock change.

No Cargo.toml changes needed — the dependency tracks the branch.

Acceptance

On an Arch machine (libclang 22.x): clean npm run build with default features (whisper, tor) succeeds without any WHISPER_DONT_GENERATE_BINDINGS env var or manually patched bindings — i.e. whisper-rs-sys regenerates its bindings live.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions