From e65cf1d265210738a9b3c0b811fbfeffa0741c39 Mon Sep 17 00:00:00 2001 From: "Klaus T. Aehlig" Date: Tue, 25 Jun 2024 17:59:39 +0200 Subject: Import rust rules and add a minimal example Note that the PATH for rust targets also has to include that for the C compiler and hence also coreutils, as the rust compiler calls out to `cc`. --- etc/generate-repos.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc/generate-repos.sh') diff --git a/etc/generate-repos.sh b/etc/generate-repos.sh index f7b4cf8..8bd1ca6 100755 --- a/etc/generate-repos.sh +++ b/etc/generate-repos.sh @@ -5,7 +5,11 @@ readonly ROOT=$(readlink -f $(dirname $0)/..) : ${RULES_CC_REPO:=https://github.com/just-buildsystem/rules-cc} : ${RULES_CC_BRANCH:=master} +: ${RULES_RUST_REPO:=https://github.com/just-buildsystem/rules-rust} +: ${RULES_RUST_BRANCH:=master} just-import-git -C ${ROOT}/etc/repos.template.json \ --as rules -b ${RULES_CC_BRANCH} ${RULES_CC_REPO} rules \ + | just-import-git -C - \ + --as rules-rust -b ${RULES_RUST_BRANCH} ${RULES_RUST_REPO} rules-rust \ | hdump > ${ROOT}/etc/repos.json -- cgit v1.2.3