mdrokz / rust-llama.cpp

LLama.cpp rust bindings
https://crates.io/crates/llama_cpp_rs/
MIT License
290 stars 42 forks source link

fix build.rs to build under macOS #42

Closed gmerlino closed 1 week ago

gmerlino commented 1 month ago

Erroring out, like this:

error[E0425]: cannot find value `libs` in this scope
   --> build.rs:123:16
    |
123 |     for lib in libs.split_whitespace() {
    |                ^^^^ not found in this scope

during cargo build without this fix

gmerlino commented 3 weeks ago

Erroring out, like this:

error[E0425]: cannot find value `libs` in this scope
   --> build.rs:123:16
    |
123 |     for lib in libs.split_whitespace() {
    |                ^^^^ not found in this scope

during cargo build without this fix

@mdrokz just a reminder about this (very unintrusive) PR

mdrokz commented 1 week ago

Hey @gmerlino sorry for the late response, i was really busy now i will merge this. Thanks for the fix!