mirror of
https://github.com/girlbossceo/hardened_malloc-rs.git
synced 2025-04-29 06:09:25 -04:00
set cargo_manifest_dir
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
91dc4bde42
commit
95555f1563
1 changed files with 4 additions and 0 deletions
4
build.rs
4
build.rs
|
@ -201,5 +201,9 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
// Allow dependent crates to locate the sources and output directory of
|
||||
// this crate. Notably, this allows a dependent crate to locate the RocksDB
|
||||
// sources and built archive artifacts provided by this crate.
|
||||
println!("cargo:cargo_manifest_dir={}", env::var("CARGO_MANIFEST_DIR").unwrap());
|
||||
println!("cargo:out_dir={}", out_dir);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue