dtolnay / cxx

Safe interop between Rust and C++
https://cxx.rs
Apache License 2.0
5.68k stars 322 forks source link

Use full path relative to $CARGO_MANIFEST_DIR when compiling #1275

Closed illicitonion closed 9 months ago

illicitonion commented 9 months ago

Bazel by default builds in $CARGO_MANIFEST_DIR, but can be instructed to build elsewhere (e.g. so that toolchains which involve relative paths can use correct relative paths).

This allows that to function.