mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-04 22:47:40 +08:00

The FISH_RUST_TARGET_DIR is not set for Tests.cmake, the target_dir will set to $CARGO_MANIFEST_DIR/target. But if build.target-dir or CARGO_TARGET_DIR is set, the real target_dir doesn't at the $CARGO_MANIFEST_DIR/target. It causes failure in cargo test. Then, set --target-dir for cargo test. Closes #9600