From 49b3e3291c93355792757f94af9774617ed3d7bf Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 20 Oct 2019 19:04:25 +0200 Subject: added some build-support for rust --- build-support/extra/rust/config.toml.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 build-support/extra/rust/config.toml.patch (limited to 'build-support/extra/rust/config.toml.patch') diff --git a/build-support/extra/rust/config.toml.patch b/build-support/extra/rust/config.toml.patch new file mode 100644 index 00000000..8d0762cd --- /dev/null +++ b/build-support/extra/rust/config.toml.patch @@ -0,0 +1,26 @@ +diff -rauN a/config.toml b/config.toml +--- a/config.toml 2019-10-20 16:44:31.647900892 +0200 ++++ b/config.toml 2019-10-20 16:44:39.637875348 +0200 +@@ -2,7 +2,7 @@ + link-shared = true + + [build] +-target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"] ++target = ["i686-unknown-linux-gnu"] + cargo = "/usr/bin/cargo" + rustc = "/usr/bin/rustc" + python = "/usr/bin/python" +@@ -21,11 +21,11 @@ + # https://github.com/rust-lang/rust/issues/54872 + codegen-units-std = 1 + +-debuginfo-level = 2 ++debuginfo-level = 0 + + channel = "stable" + + rpath = false + +-[target.x86_64-unknown-linux-gnu] ++[target.i686-unknown-linux-gnu] + llvm-config = "/usr/bin/llvm-config" -- cgit v1.2.3-70-g09d2