From 084f0583adff6a835a0fc913490099e4a19493ae Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Tue, 28 May 2024 23:26:20 -0700 Subject: [PATCH 1/2] Give tidy the good news about C-SKY --- src/tools/tidy/src/target_specific_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/tidy/src/target_specific_tests.rs b/src/tools/tidy/src/target_specific_tests.rs index 5a402f3cc6014..6fd2148ef6780 100644 --- a/src/tools/tidy/src/target_specific_tests.rs +++ b/src/tools/tidy/src/target_specific_tests.rs @@ -15,6 +15,7 @@ const KNOWN_LLVM_COMPONENTS: &[&str] = &[ "arm", "avr", "bpf", + "csky", "hexagon", "loongarch", "m68k", From 81bc4d01f9fee53918038c13ae0204788dc4e760 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Wed, 29 May 2024 00:22:35 -0700 Subject: [PATCH 2/2] Reenable ABI compatibility test for csky --- tests/ui/abi/compatibility.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/ui/abi/compatibility.rs b/tests/ui/abi/compatibility.rs index 373d1cce1d73d..212a873f8411d 100644 --- a/tests/ui/abi/compatibility.rs +++ b/tests/ui/abi/compatibility.rs @@ -52,17 +52,16 @@ //@ revisions: m68k //@[m68k] compile-flags: --target m68k-unknown-linux-gnu //@[m68k] needs-llvm-components: m68k +//@ revisions: csky +//@[csky] compile-flags: --target csky-unknown-linux-gnuabiv2 +//@[csky] needs-llvm-components: csky + // FIXME: disabled on nvptx64 since the target ABI fails the sanity check // see https://github.com/rust-lang/rust/issues/117480 /* revisions: nvptx64 [nvptx64] compile-flags: --target nvptx64-nvidia-cuda [nvptx64] needs-llvm-components: nvptx */ -// FIXME: disabled since it fails on CI saying the csky component is missing -/* revisions: csky - [csky] compile-flags: --target csky-unknown-linux-gnuabiv2 - [csky] needs-llvm-components: csky -*/ #![feature(rustc_attrs, unsized_fn_params, transparent_unions)] #![cfg_attr(not(host), feature(no_core, lang_items), no_std, no_core)] #![allow(unused, improper_ctypes_definitions, internal_features)]