9 lines
321 B
Rust
9 lines
321 B
Rust
|
fn main() {
|
||
|
// https://doc.rust-lang.org/cargo/reference/build-scripts.html
|
||
|
// cargo-equivalent to running rustc -L./raylib/ -lraylib test.rs -o bin/test
|
||
|
// to link against the libraylib.a static library
|
||
|
println!("cargo:rustc-link-search=./raylib");
|
||
|
println!("cargo:rustc-link-lib=static=raylib");
|
||
|
}
|
||
|
|