deno-x86_64-unknown-linux-gnu 0.24.0

Binary dependencies for the 'deno' crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

fn main() {
  use std::env::var;
  use std::path::Path;
  if var("TARGET")
    .map(|target| target == "x86_64-unknown-linux-gnu")
    .unwrap_or(false)
  {
    let dir = var("CARGO_MANIFEST_DIR").unwrap();
    println!(
      "cargo:rustc-link-search=native={}",
      Path::new(&dir).join("lib").display()
    );
  }
}