aboutsummaryrefslogtreecommitdiff
path: root/test/link_std_dylib/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/link_std_dylib/lib.rs')
-rw-r--r--test/link_std_dylib/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/link_std_dylib/lib.rs b/test/link_std_dylib/lib.rs
new file mode 100644
index 00000000..734312b8
--- /dev/null
+++ b/test/link_std_dylib/lib.rs
@@ -0,0 +1,7 @@
+// Analysis test shouldn't need this file.
+// This is a workaround until
+// https://github.com/bazelbuild/rules_rust/issues/2499
+// is fixed
+pub fn example_test_dep_fn() -> u32 {
+ 1
+}