The installer hardcoded target/ as the build output directory, but CARGO_TARGET_DIR (or [build] target-dir in cargo config) can redirect output anywhere (e.g., /tmp/cargo-target). Now uses cargo metadata --format-version 1 to get the actual target_directory, falling back to $SCRIPT_DIR/target if metadata fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6.2 KiB
Executable File
6.2 KiB
Executable File