summaryrefslogtreecommitdiff
path: root/user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-12-30 02:42:43 +0000
committerSamuel Holland <samuel@sholland.org>2018-12-30 07:41:26 +0000
commit3ad04696702c67ecbb84ee44d20b2489d77d841f (patch)
tree3726f103454f5e932a342f1caad38eb459751d89 /user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch
parent1f3a1b66721aa8c259d5f5ada4b5e55da526a2d6 (diff)
downloadpackages-3ad04696702c67ecbb84ee44d20b2489d77d841f.tar.gz
packages-3ad04696702c67ecbb84ee44d20b2489d77d841f.tar.bz2
packages-3ad04696702c67ecbb84ee44d20b2489d77d841f.tar.xz
packages-3ad04696702c67ecbb84ee44d20b2489d77d841f.zip
user/rust: Bump to 1.31.1
Diffstat (limited to 'user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch')
-rw-r--r--user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch b/user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch
deleted file mode 100644
index 8dd7cf47e..000000000
--- a/user/rust/0016-test-linkage-visibility-Ensure-symbols-are-visible-t.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 48b225e5e66e6bfd912d8e66cfed4d7f95591d07 Mon Sep 17 00:00:00 2001
-From: Samuel Holland <samuel@sholland.org>
-Date: Sun, 16 Sep 2018 16:35:41 +0000
-Subject: [PATCH 16/24] test/linkage-visibility: Ensure symbols are visible to
- dlsym
-
-DynamicLibrary uses libc's dlsym() function internally to find symbols.
-Some implementations of dlsym(), like musl's, only look at dynamically-
-exported symbols, as found in shared libraries. To also export symbols
-from the main executable, pass --export-dynamic to the linker.
----
- 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
-