From 91395ef937f1377ac32c40ebbca86e41d74edbe8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 9 Sep 2019 13:24:20 +0200 Subject: extra/rust: hopefuly fixed building of rust --- extra/rust/config.toml.patch | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'extra/rust/config.toml.patch') diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch index 56a3375b..6488342b 100644 --- a/extra/rust/config.toml.patch +++ b/extra/rust/config.toml.patch @@ -1,7 +1,16 @@ diff -rauN a/config.toml b/config.toml ---- a/config.toml 2019-09-08 16:33:31.482763985 +0200 -+++ b/config.toml 2019-09-08 16:35:23.644130362 +0200 -@@ -19,7 +19,7 @@ +--- a/config.toml 2019-09-09 08:53:02.796809788 +0200 ++++ b/config.toml 2019-09-09 08:53:42.249120606 +0200 +@@ -2,7 +2,7 @@ + link-shared = true + + [build] +-target = ["x86_64-unknown-linux-gnu"] # defaults to just the build triple ++target = ["i686-unknown-linux-gnu"] # defaults to just the build triple + cargo = "/usr/bin/cargo" + rustc = "/usr/bin/rustc" + python = "python" +@@ -19,11 +19,11 @@ # https://github.com/rust-lang/rust/issues/47745 codegen-units = 1 @@ -10,10 +19,8 @@ diff -rauN a/config.toml b/config.toml channel = "stable" -@@ -27,3 +27,6 @@ + rpath = false - [target.x86_64-unknown-linux-gnu] - llvm-config = "/usr/bin/llvm-config" -+ +-[target.x86_64-unknown-linux-gnu] +[target.i686-unknown-linux-gnu] -+llvm-config = "/usr/bin/llvm-config" + llvm-config = "/usr/bin/llvm-config" -- cgit v1.2.3