Skip to content

Commit 5ea215c

Browse files
committed
WIP: mod: helper.mk (build/main)
Signed-off-by: Philippe Coval <[email protected]>
1 parent ff98c09 commit 5ea215c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

helper.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ setup/debian: ${CURDIR}/docker/target_dependencies.apt ${CURDIR}/docker/host_dep
107107

108108
setup/rust:
109109
@echo "$@: TODO: Support https://tracker.debian.org/pkg/rustup"
110-
curl --insecure --proto '=https' --tlsv1.2 -sSf ${rust_url} | bash -s -- -y --default-toolchain ${RUST_VERSION}
110+
curl --insecure --proto '=https' --tlsv1.2 -sSf ${rust_url} \
111+
| bash -s -- -y \
112+
--default-toolchain="${RUST_VERSION}" \
113+
--default-host="${CARGO_TARGET_TRIPLE}"
111114
cat $${HOME}/.cargo/env
112115
@echo '$@: info: You might like to add ". $${HOME}/.cargo/env" to "$${HOME}/.bashrc"'
113116
-which rustc

0 commit comments

Comments
 (0)