about summary refs log tree commit diff
path: root/tests/run-make/raw-dylib-cross-compilation/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/raw-dylib-cross-compilation/lib.rs')
-rw-r--r--tests/run-make/raw-dylib-cross-compilation/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/run-make/raw-dylib-cross-compilation/lib.rs b/tests/run-make/raw-dylib-cross-compilation/lib.rs
index d3b7fd23ca8..8d53ac04485 100644
--- a/tests/run-make/raw-dylib-cross-compilation/lib.rs
+++ b/tests/run-make/raw-dylib-cross-compilation/lib.rs
@@ -4,8 +4,12 @@
 #![crate_type = "lib"]
 
 // This is needed because of #![no_core]:
+#[lang = "pointee_sized"]
+trait PointeeSized {}
+#[lang = "meta_sized"]
+trait MetaSized: PointeeSized {}
 #[lang = "sized"]
-trait Sized {}
+trait Sized: MetaSized {}
 
 #[link(name = "extern_1", kind = "raw-dylib")]
 extern "C" {