Initial ForgeLM import

This commit is contained in:
Evandro Fonseca Junior committed 2026-03-29 19:10:57 -03:00
commit a392b9dc60
4296 files changed
+1212675

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
/// Build script for llama-sys.
///
/// Phase 2: Dynamic loading via libloading — no .lib needed.
/// The real llama.dll path is communicated to the crate via the
/// LLAMA_DLL_PATH env var or a sensible default.
///
/// Phase 3+ will optionally compile llama.cpp from source.
fn main() {
// Nothing to link here — we use libloading at runtime.
// Rerun if the env var changes.
println!("cargo:rerun-if-env-changed=LLAMA_DLL_PATH");
println!("cargo:rerun-if-changed=build.rs");
}