commit | 99a67568f5d63e012b30ec038e497a970658502e | [log] [tgz] |
---|---|---|
author | Sam Leffler <sleffler@google.com> | Mon Jan 30 19:28:39 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jan 30 19:28:39 2023 +0000 |
tree | 8d18f028e0cc3125393cdadeb07e79ab9f0c5364 | |
parent | cd63445da7b67a8bfdc600c130aa37439c462f16 [diff] | |
parent | dad38b9eeaa24d16fdd05bcdaf0b94adb6338d6d [diff] |
Merge "kcargo.sh: set target platform to Shodan"
diff --git a/kcargo.sh b/kcargo.sh index afaddc3..1de8fd4 100755 --- a/kcargo.sh +++ b/kcargo.sh
@@ -32,6 +32,7 @@ CARGO="${CARGO_HOME}/bin/cargo +${CANTRIP_RUST_VERSION}" CARGO_TARGET="--target riscv32imac-unknown-none-elf" +CARGO_TARGET="--target ${RUST_TARGET:-riscv32imac-unknown-none-elf} --features CONFIG_PLAT_SHODAN" CARGO_OPTS='-Z unstable-options -Z avoid-dev-deps' export RUSTFLAGS='-Z tls-model=local-exec'