chore: reorg
This commit is contained in:
10
__ffi/live-reload-rust/greet-rs/build.rs
Normal file
10
__ffi/live-reload-rust/greet-rs/build.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
fn main() {
|
||||
let manifest_dir =
|
||||
PathBuf::from(std::env::var_os("CARGO_MANIFEST_DIR").expect("manifest dir should be set"));
|
||||
let lib_dir = manifest_dir
|
||||
.parent()
|
||||
.expect("manifest dir should have a parent");
|
||||
println!("cargo:rustc-link-search={}", lib_dir.display());
|
||||
}
|
||||
Reference in New Issue
Block a user