fn_arg_sanity_check: fix panic message
also update csky comment in abi/compatibility test
This commit is contained in:
parent
da159eb331
commit
92af72d192
@ -520,7 +520,8 @@ fn fn_arg_sanity_check<'tcx>(
|
||||
assert!(
|
||||
matches!(&*cx.tcx.sess.target.arch, "wasm32" | "wasm64")
|
||||
|| matches!(spec_abi, SpecAbi::PtxKernel | SpecAbi::Unadjusted),
|
||||
r#"`PassMode::Direct` for aggregates only allowed for "unadjusted" and "ptx-kernel" functions and on wasm\nProblematic type: {:#?}"#,
|
||||
"`PassMode::Direct` for aggregates only allowed for \"unadjusted\" and \"ptx-kernel\" functions and on wasm\n\
|
||||
Problematic type: {:#?}",
|
||||
arg.layout,
|
||||
);
|
||||
}
|
||||
|
@ -59,6 +59,7 @@
|
||||
[nvptx64] needs-llvm-components: nvptx
|
||||
*/
|
||||
// FIXME: disabled since it fails on CI saying the csky component is missing
|
||||
// see https://github.com/rust-lang/rust/issues/125697
|
||||
/* revisions: csky
|
||||
[csky] compile-flags: --target csky-unknown-linux-gnuabiv2
|
||||
[csky] needs-llvm-components: csky
|
||||
|
Loading…
Reference in New Issue
Block a user