Skip to content

Commit ce092d4

Browse files
tests: reenable ABI compatibility test for csky
1 parent a4b7376 commit ce092d4

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tests/ui/abi/compatibility.rs

+5-8
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,16 @@
5252
//@ revisions: m68k
5353
//@[m68k] compile-flags: --target m68k-unknown-linux-gnu
5454
//@[m68k] needs-llvm-components: m68k
55+
//@ revisions: csky
56+
//@[csky] compile-flags: --target csky-unknown-linux-gnuabiv2
57+
//@[csky] needs-llvm-components: csky
58+
5559
// FIXME: disabled on nvptx64 since the target ABI fails the sanity check
5660
// see https://github.com/rust-lang/rust/issues/117480
5761
/* revisions: nvptx64
5862
[nvptx64] compile-flags: --target nvptx64-nvidia-cuda
5963
[nvptx64] needs-llvm-components: nvptx
6064
*/
61-
// FIXME: disabled since it fails on CI saying the csky component is missing
62-
// see https://github.com/rust-lang/rust/issues/125697
63-
/* revisions: csky
64-
[csky] compile-flags: --target csky-unknown-linux-gnuabiv2
65-
[csky] needs-llvm-components: csky
66-
*/
6765
#![feature(rustc_attrs, unsized_fn_params, transparent_unions)]
6866
#![cfg_attr(not(host), feature(no_core, lang_items), no_std, no_core)]
6967
#![allow(unused, improper_ctypes_definitions, internal_features)]
@@ -75,8 +73,7 @@
7573

7674
#[cfg(host)]
7775
use std::{
78-
any::Any, marker::PhantomData, mem::ManuallyDrop, num::NonZero, ptr::NonNull, rc::Rc,
79-
sync::Arc,
76+
any::Any, marker::PhantomData, mem::ManuallyDrop, num::NonZero, ptr::NonNull, rc::Rc, sync::Arc,
8077
};
8178

8279
/// To work cross-target this test must be no_core.

0 commit comments

Comments
 (0)