summaryrefslogblamecommitdiff
path: root/user/rust/0010-test-linkage-visibility-dlsym-only-sees-exported-sym.patch
blob: 15f431e5a718784aa75c30798d2b77ed8e11d79b (plain) (tree)
1
2
3
4
                                                                      

                                          
                                                                        





















                                                                                                                                    
From 289d2f3ceb6226c385f3784d310465f375dc0c00 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/29] 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