Skip to content

Commit

Permalink
Fix tools/build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 30, 2023
1 parent 9c15630 commit d5ae628
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,11 @@ build() {
args+=(-Z build-std="core,alloc")
args+=(--exclude-features "std")
else
args+=(-Z build-std)
case "${target}" in
# panic=abort
*-espidf*) args+=(-Z build-std="panic_abort,std") ;;
*) args+=(-Z build-std) ;;
esac
fi
else
echo "target '${target}' requires nightly compiler (skipped all checks)"
Expand Down

0 comments on commit d5ae628

Please sign in to comment.