Commit 9c3f517
build: Fix Rust env var passing in cargo build command
Corrected cargo invocation to properly pass RUSTC environment variable.
Changed from:
cmake -E env RUSTC=${RUSTC_ENV_VAR} cargo ...
To:
env RUSTC=${RUSTC_ENV_VAR} cargo ...
This prevents CMake from incorrectly quoting the path and allows
cargo to correctly find the rustc compiler.
Verified clean build results:
✓ No Rust artifacts in source tree (third_party/lance-ffi/target/)
✓ All artifacts in CMAKE_BINARY_DIR/rust/ (proper isolation)
✓ Final library in CMAKE_BINARY_DIR/liblance_ffi.a
✓ Build completed successfully with -j8 parallel make
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent dcf6e90 commit 9c3f517
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
| 243 | + | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| |||
0 commit comments