aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test cases/failing/55 wrong shared crate type/foo.rs0
-rw-r--r--test cases/failing/55 wrong shared crate type/meson.build3
-rw-r--r--test cases/failing/56 wrong static crate type/foo.rs0
-rw-r--r--test cases/failing/56 wrong static crate type/meson.build3
4 files changed, 6 insertions, 0 deletions
diff --git a/test cases/failing/55 wrong shared crate type/foo.rs b/test cases/failing/55 wrong shared crate type/foo.rs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/failing/55 wrong shared crate type/foo.rs
diff --git a/test cases/failing/55 wrong shared crate type/meson.build b/test cases/failing/55 wrong shared crate type/meson.build
new file mode 100644
index 0000000..69ac3da
--- /dev/null
+++ b/test cases/failing/55 wrong shared crate type/meson.build
@@ -0,0 +1,3 @@
+project('test', 'rust')
+
+shared_library('test', 'foo.rs', rust_crate_type : 'staticlib')
diff --git a/test cases/failing/56 wrong static crate type/foo.rs b/test cases/failing/56 wrong static crate type/foo.rs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/failing/56 wrong static crate type/foo.rs
diff --git a/test cases/failing/56 wrong static crate type/meson.build b/test cases/failing/56 wrong static crate type/meson.build
new file mode 100644
index 0000000..c094613
--- /dev/null
+++ b/test cases/failing/56 wrong static crate type/meson.build
@@ -0,0 +1,3 @@
+project('test', 'rust')
+
+static_library('test', 'foo.rs', rust_crate_type : 'cdylib')