From b84b3ee0563ddfb423c0b4b2c162a0ef3031b29f Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 16 Jun 2024 00:35:05 +0900 Subject: [PATCH] ci: Builtin xtensa targets are completely broken with builtin LLVM --- tools/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/build.sh b/tools/build.sh index 70539361..7d7e8542 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -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")