summaryrefslogtreecommitdiff
path: root/user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-05-29 04:42:59 +0000
committerSamuel Holland <samuel@sholland.org>2019-05-29 04:46:40 +0000
commit7e1cca3044a2ec11b12b1e0004eb59be38950bed (patch)
tree21773e07accb1d9b9c49a95dc2975aa04867c479 /user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch
parentd726062dd22ef3eaafd366821fb7c9dde338f060 (diff)
downloadpackages-7e1cca3044a2ec11b12b1e0004eb59be38950bed.tar.gz
packages-7e1cca3044a2ec11b12b1e0004eb59be38950bed.tar.bz2
packages-7e1cca3044a2ec11b12b1e0004eb59be38950bed.tar.xz
packages-7e1cca3044a2ec11b12b1e0004eb59be38950bed.zip
user/rust: Bump to 1.35.0
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch')
-rw-r--r--user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch b/user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch
deleted file mode 100644
index e4cac488c..000000000
--- a/user/rust/0012-Link-stage-2-tools-dynamically-to-libstd.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From d7e94a443cd0876d384ccbc36a6eb21cfc3636d4 Mon Sep 17 00:00:00 2001
-From: Samuel Holland <samuel@sholland.org>
-Date: Mon, 24 Sep 2018 23:42:23 +0000
-Subject: [PATCH 12/14] Link stage 2 tools dynamically to libstd
-
----
- src/bootstrap/tool.rs | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
-index fc1a17d546..880c2d52ba 100644
---- a/src/bootstrap/tool.rs
-+++ b/src/bootstrap/tool.rs
-@@ -207,7 +207,9 @@ pub fn prepare_tool_cargo(
-
- // We don't want to build tools dynamically as they'll be running across
- // stages and such and it's just easier if they're not dynamically linked.
-- cargo.env("RUSTC_NO_PREFER_DYNAMIC", "1");
-+ if compiler.stage < 2 {
-+ cargo.env("RUSTC_NO_PREFER_DYNAMIC", "1");
-+ }
-
- if source_type == SourceType::Submodule {
- cargo.env("RUSTC_EXTERNAL_TOOL", "1");
---
-2.21.0
-