Skip to content

Commit d6db0ed

Browse files
committed
run tests on apple
1 parent 006588a commit d6db0ed

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/ui/eii/default/call_default.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@
55
//@ ignore-backends: gcc
66
// FIXME: linking on windows (speciifcally mingw) not yet supported, see tracking issue #125418
77
//@ ignore-windows
8-
// Functions can have target-cpu applied. On apple-darwin this is super important,
9-
// since you can have binaries which mix x86 and aarch64 code that are compatible
10-
// with both architectures. So we can't just reject target_cpu on EIIs since apple
11-
// puts them on by default. The problem: we generate aliases. And aliases cannot
12-
// get target_cpu applied to them. So, instead we should, in the case of functions,
13-
// generate a shim function. For statics aliases should keep working in theory.
14-
// In fact, aliases are only necessary for statics. For functions we could just
15-
// always generate a shim and a previous version of EII did so but I was sad
16-
// that that'd never support statics.
17-
//@ ignore-macos
188
// Tests EIIs with default implementations.
199
// When there's no explicit declaration, the default should be called from the declaring crate.
2010
#![feature(extern_item_impls)]

0 commit comments

Comments
 (0)