kumquat-buildroot/package/rust/0001-Permit-warnings-inside-error-chain-expansion.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
760 B
Diff

From d90cef58439bcd14426d64b16599e060cd6464f9 Mon Sep 17 00:00:00 2001
From: Mark Simulacrum <mark.simulacrum@gmail.com>
Date: Wed, 20 Jun 2018 16:54:40 -0600
Subject: [PATCH] Permit warnings inside error-chain expansion
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
src/main.rs | 1 +
1 file changed, 1 insertion(+)
diff --git rust-1.27.1.orig/src/tools/rust-installer/src/main.rs rust-1.27.1/src/tools/rust-installer/src/main.rs
index cabffb8..007ed71 100644
--- rust-1.27.1.orig/src/tools/rust-installer/src/main.rs
+++ rust-1.27.1/src/tools/rust-installer/src/main.rs
@@ -7,6 +7,7 @@ extern crate installer;
use errors::*;
use clap::{App, ArgMatches};
+#[allow(warnings)]
mod errors {
error_chain!{
links {
--
2.11.0