Skip to content

llama-cpp-sys-2 v0.1.140 fails to build on Windows — cmake exits with code 1 #970

Description

@srad

Environment:

   - OS: Windows 11 (NT
    10.0.26200.0)
   - Rust:
    1.93.0
   - CMake:
    4.2.3

Error:

   error: failed to run custom build command for `llama-cpp-sys-2 v0.1.140`
   running: "cmake" "--build" "...\out\build" "--target" "install" "--config" "Release" "--parallel" "12"
   command did not execute successfully, got: exit code: 1

Reproduction:

   cargo new repro && cd repro
   cargo add llama-cpp-2@=0.1.140
   cargo build

Notes: Downgrading to =0.1.139 resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions