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'