Skip to content

Commit

Permalink
ci: Builtin xtensa targets are completely broken with builtin LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 15, 2024
1 parent e14240f commit b84b3ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ build() {
fi
cfgs=$(RUSTC_BOOTSTRAP=1 rustc ${pre_args[@]+"${pre_args[@]}"} --print cfg "${target_flags[@]}")
if [[ -n "${TARGET_GROUP:-}" ]]; then
case "${target}" in
# builtin xtensa targets are completely broken with builtin LLVM: https://github.com/rust-lang/rust/pull/125141#discussion_r1637484228
xtensa-*) return 0 ;;
esac
args+=(-Z build-std="core")
elif is_no_std "${target}"; then
args+=(-Z build-std="core,alloc")
Expand Down

0 comments on commit b84b3ee

Please sign in to comment.