From 039aee859fd019556c054f4ecd6e07fcfd8956e8 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 30 Apr 2019 12:03:54 -0700 Subject: [PATCH] Set rust.codegen-units-std=1 Upstream started this in https://github.com/rust-lang/rust/pull/55264, which was released in Rust 1.32. --- rust.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index b0e43ff..73da554 100644 --- a/rust.spec +++ b/rust.spec @@ -54,7 +54,7 @@ Name: rust Version: 1.34.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Rust Programming Language License: (ASL 2.0 or MIT) and (BSD and MIT) # ^ written as: (rust itself) and (bundled libraries) @@ -481,6 +481,7 @@ export LIBSSH2_SYS_USE_PKG_CONFIG=1 --enable-extended \ --enable-vendor \ --enable-verbose-tests \ + --set rust.codegen-units-std=1 \ --release-channel=%{channel} %{python} ./x.py build @@ -675,6 +676,9 @@ rm -f %{buildroot}%{rustlibdir}/etc/lldb_*.py* %changelog +* Tue Apr 30 2019 Josh Stone - 1.34.1-3 +- Set rust.codegen-units-std=1 + * Fri Apr 26 2019 Josh Stone - 1.34.1-2 - Remove the ThinLTO workaround.