1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-06 06:27:53 +02:00

cargo fmt

This commit is contained in:
Andrew Walbran
2025-02-27 15:03:50 +00:00
parent f5787fe90e
commit fd16d58901
9 changed files with 16 additions and 17 deletions

View File

@ -1,6 +1,7 @@
fn main() {
// Find target directory, either from CARGO_TARGET_DIR or in-tree if unset.
let mut src_dir = std::env::var_os("CARGO_TARGET_DIR").unwrap_or("../../../target".into());
let mut src_dir =
std::env::var_os("CARGO_TARGET_DIR").unwrap_or("../../../target".into());
src_dir.push("/cxxbridge/demo/src");
cxx_build::bridge("src/main.rs")