buildroot/package/rust/0001-Fix-warnings-in-library-from-error-chain.patch
Eric Le Bihan f09c6907cf rust: bump version to 1.27.1
Bump version to 1.27.1 and backport some patches to fix build of
rust-installer.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-18 11:44:03 +02:00

26 lines
753 B
Diff

From ac3ffd15e1cf16059b4ccd90b7c816b078a621a5 Mon Sep 17 00:00:00 2001
From: Mark Simulacrum <mark.simulacrum@gmail.com>
Date: Wed, 20 Jun 2018 19:47:00 -0600
Subject: [PATCH] Fix warnings in library from error-chain
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
src/lib.rs | 1 +
1 file changed, 1 insertion(+)
diff --git rust-1.27.1.orig/src/tools/rust-installer/src/lib.rs rust-1.27.1/src/tools/rust-installer/src/lib.rs
index ff0495b..cc5e740 100644
--- rust-1.27.1.orig/src/tools/rust-installer/src/lib.rs
+++ rust-1.27.1/src/tools/rust-installer/src/lib.rs
@@ -22,6 +22,7 @@ extern crate winapi;
#[macro_use]
extern crate lazy_static;
+#[allow(warnings)]
mod errors {
error_chain!{
foreign_links {
--
2.11.0