summaryrefslogtreecommitdiff
path: root/packages/dev-lang/rust/files/hash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-lang/rust/files/hash.patch')
-rw-r--r--packages/dev-lang/rust/files/hash.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/dev-lang/rust/files/hash.patch b/packages/dev-lang/rust/files/hash.patch
deleted file mode 100644
index 9bc481f..0000000
--- a/packages/dev-lang/rust/files/hash.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f58e09236ba1fd1ac4e7f182c6b6be7f2c5e54ac Mon Sep 17 00:00:00 2001
-From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-Date: Thu, 15 Jun 2017 16:48:05 +0200
-Subject: [PATCH] hash 'CFG_RELEASE_CHANNEL' in metadata for crates
-
-Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
----
- src/cargo/ops/cargo_rustc/context.rs | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/tools/cargo/src/cargo/ops/cargo_rustc/context.rs b/src/tools/cargo/src/cargo/ops/cargo_rustc/context.rs
-index fa1ddd00..6c3748d3 100644
---- a/src/tools/cargo/src/cargo/ops/cargo_rustc/context.rs
-+++ b/src/tools/cargo/src/cargo/ops/cargo_rustc/context.rs
-@@ -491,6 +491,10 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
- rustc.verbose_version.hash(&mut hasher);
- }
-
-+ if let Ok(ref channel) = env::var("CFG_RELEASE_CHANNEL") {
-+ channel.hash(&mut hasher);
-+ }
-+
- Some(Metadata(hasher.finish()))
- }
-
---
-2.13.1
-