|
@@ -7,13 +7,13 @@
|
|
# Some sub-packages are versioned independently of the rust compiler and runtime itself.
|
|
# Some sub-packages are versioned independently of the rust compiler and runtime itself.
|
|
# Also beware that if any of these are not changed in a version bump, then the release
|
|
# Also beware that if any of these are not changed in a version bump, then the release
|
|
# number should still increase, not be reset to 1!
|
|
# number should still increase, not be reset to 1!
|
|
-%global rustc_version 1.40.0
|
|
|
|
|
|
+%global rustc_version 1.42.0
|
|
%global cargo_version %{rustc_version}
|
|
%global cargo_version %{rustc_version}
|
|
%global rustfmt_version %{rustc_version}
|
|
%global rustfmt_version %{rustc_version}
|
|
%global rls_version %{rustc_version}
|
|
%global rls_version %{rustc_version}
|
|
%global clippy_version %{rustc_version}
|
|
%global clippy_version %{rustc_version}
|
|
|
|
|
|
-%global llvm_major 9
|
|
|
|
|
|
+%global llvm_major 10
|
|
|
|
|
|
# The channel can be stable, beta, or nightly
|
|
# The channel can be stable, beta, or nightly
|
|
%{!?channel: %global channel stable}
|
|
%{!?channel: %global channel stable}
|
|
@@ -25,8 +25,8 @@
|
|
# To bootstrap from scratch, set the channel and date from src/stage0.txt
|
|
# To bootstrap from scratch, set the channel and date from src/stage0.txt
|
|
# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
|
|
# e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
|
|
# or nightly wants some beta-YYYY-MM-DD
|
|
# or nightly wants some beta-YYYY-MM-DD
|
|
-%global bootstrap_rust 1.40.0
|
|
|
|
-%global bootstrap_cargo 1.40.0
|
|
|
|
|
|
+%global bootstrap_rust 1.42.0
|
|
|
|
+%global bootstrap_cargo 1.42.0
|
|
%global bootstrap_channel %{bootstrap_rust}
|
|
%global bootstrap_channel %{bootstrap_rust}
|
|
|
|
|
|
# Only the specified arches will use bootstrap binaries.
|
|
# Only the specified arches will use bootstrap binaries.
|
|
@@ -363,6 +363,9 @@ feature for the Rust standard library. The RLS (Rust Language Server) uses this
|
|
data to provide information about the Rust standard library.
|
|
data to provide information about the Rust standard library.
|
|
|
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
|
|
|
|
%ifarch %{bootstrap_arches}
|
|
%ifarch %{bootstrap_arches}
|
|
@@ -458,6 +461,10 @@ export LDFLAGS="$LDFLAGS -fuse-ld=lld"
|
|
export RUSTFLAGS="$RUSTFLAGS -C linker=clang -C link-arg=-fuse-ld=lld"
|
|
export RUSTFLAGS="$RUSTFLAGS -C linker=clang -C link-arg=-fuse-ld=lld"
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+# workaround for https://github.com/rust-lang/rust/issues/69953
|
|
|
|
+# --set rust.deny-warnings=false
|
|
|
|
+
|
|
|
|
+
|
|
%configure \
|
|
%configure \
|
|
--disable-option-checking \
|
|
--disable-option-checking \
|
|
--libdir=%{common_libdir} \
|
|
--libdir=%{common_libdir} \
|
|
@@ -471,7 +478,9 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=clang -C link-arg=-fuse-ld=lld"
|
|
--enable-vendor \
|
|
--enable-vendor \
|
|
--enable-verbose-tests \
|
|
--enable-verbose-tests \
|
|
--set rust.codegen-units-std=1 \
|
|
--set rust.codegen-units-std=1 \
|
|
- --release-channel=%{channel}
|
|
|
|
|
|
+ --release-channel=%{channel} \
|
|
|
|
+ --set rust.deny-warnings=false \
|
|
|
|
+ %{nil}
|
|
|
|
|
|
RUST_BACKTRACE=1 %{__python3} ./x.py build
|
|
RUST_BACKTRACE=1 %{__python3} ./x.py build
|
|
%{__python3} ./x.py doc
|
|
%{__python3} ./x.py doc
|
|
@@ -601,7 +610,6 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=ld.lld -C link-arg=-fuse-ld=lld"
|
|
%dir %{rustlibdir}/%{rust_triple}
|
|
%dir %{rustlibdir}/%{rust_triple}
|
|
%dir %{rustlibdir}/%{rust_triple}/lib
|
|
%dir %{rustlibdir}/%{rust_triple}/lib
|
|
%{rustlibdir}/%{rust_triple}/lib/*.so
|
|
%{rustlibdir}/%{rust_triple}/lib/*.so
|
|
-%{rustlibdir}/%{rust_triple}/codegen-backends/
|
|
|
|
%exclude %{_bindir}/*miri
|
|
%exclude %{_bindir}/*miri
|
|
|
|
|
|
|
|
|
|
@@ -697,6 +705,10 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=ld.lld -C link-arg=-fuse-ld=lld"
|
|
%{rustlibdir}/%{rust_triple}/analysis/
|
|
%{rustlibdir}/%{rust_triple}/analysis/
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.42.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- separated debuginfo.
|
|
|
|
+
|
|
* Sun Dec 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.40.0-1
|
|
* Sun Dec 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.40.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|