Bug: Makefile ignores CARGO_TARGET_DIR
William Pursell <[email protected]> Tue, 28 Jul 2026 05:46:40 -0600
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <CAJPQ5NbTLnbe_VU1awCVggw5m9kGdBZssrZBp8G0YxcMjb_rwA@mail.gmail.com> |
The Makefile hardcodes the path to the Rust static library at line 962, but the cargo invocation at line 3036 does not override CARGO_TARGET_DIR. (line numbers are relative to 9a0c4701) When CARGO_TARGET_DIR is set in the environment, the link step fails: clang: error: no such file or directory: 'target/release/libgitcore.a'