|
@ -1013,8 +1013,10 @@ termux_step_make_install() { |
|
|
fi |
|
|
fi |
|
|
elif test -f Cargo.toml; then |
|
|
elif test -f Cargo.toml; then |
|
|
termux_setup_rust |
|
|
termux_setup_rust |
|
|
cargo build --release --target $CARGO_TARGET_NAME |
|
|
cargo install --force \ |
|
|
cargo install --force --target $CARGO_TARGET_NAME --root $TERMUX_PREFIX |
|
|
--target $CARGO_TARGET_NAME \ |
|
|
|
|
|
--root $TERMUX_PREFIX \ |
|
|
|
|
|
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS |
|
|
# https://github.com/rust-lang/cargo/issues/3316: |
|
|
# https://github.com/rust-lang/cargo/issues/3316: |
|
|
rm $TERMUX_PREFIX/.crates.toml |
|
|
rm $TERMUX_PREFIX/.crates.toml |
|
|
fi |
|
|
fi |
|
|