twig-sys-linux-arm64-gnu 2.2.1

Prebuilt libtwig.a for aarch64-unknown-linux-gnu. Support crate for twig-sys; not for direct use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Hand the prebuilt archive's directory to `twig-sys`'s build script. Because
// this crate sets `links`, the `cargo:libdir=…` line below reaches dependents
// as `DEP_<LINKS>_LIBDIR`. This crate emits no link directives itself —
// `twig-sys` is the single place that decides to link the static library.
use std::env;
use std::path::Path;

fn main() {
    let manifest = env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR");
    let libdir = Path::new(&manifest).join("lib");
    println!("cargo:libdir={}", libdir.display());
    println!("cargo:rerun-if-changed={}", libdir.display());
}