summaryrefslogtreecommitdiff
path: root/user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch')
-rw-r--r--user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch b/user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch
new file mode 100644
index 000000000..1d6b5ae0d
--- /dev/null
+++ b/user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch
@@ -0,0 +1,26 @@
+From 5cbbac1243e4cda725f82337245881fe71beeec0 Mon Sep 17 00:00:00 2001
+From: Samuel Holland <samuel@sholland.org>
+Date: Sun, 16 Sep 2018 16:35:41 +0000
+Subject: [PATCH 10/28] test/linkage-visibility: dlsym only sees exported
+ symbols
+
+---
+ src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs b/src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs
+index 7a15a4cb3a..853d97670d 100644
+--- a/src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs
++++ b/src/test/run-pass-fulldeps/auxiliary/linkage-visibility.rs
+@@ -8,6 +8,8 @@
+ // option. This file may not be copied, modified, or distributed
+ // except according to those terms.
+
++// compile-flags: -C link-arg=-Wl,--export-dynamic
++
+ #![feature(rustc_private)]
+
+ // We're testing linkage visibility; the compiler warns us, but we want to
+--
+2.18.0
+