Browse Source

rust-1.64.0-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
86a511ec5c
1 changed files with 22 additions and 4 deletions
  1. 22 4
      r/rust/rust-vl.spec

+ 22 - 4
r/rust/rust-vl.spec

@@ -9,7 +9,7 @@
 # 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
 # number should still increase, not be reset to 1!
-%global rustc_version 1.63.0
+%global rustc_version 1.64.0
 %global cargo_version %{rustc_version}
 %global rustfmt_version %{rustc_version}
 %global rls_version %{rustc_version}
@@ -25,8 +25,8 @@
 # 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
 # or nightly wants some beta-YYYY-MM-DD
-%global bootstrap_rust 1.62.1
-%global bootstrap_cargo 1.62.1
+%global bootstrap_rust 1.63.0
+%global bootstrap_cargo 1.63.0
 %global bootstrap_channel %{bootstrap_rust}
 
 # Only the specified arches will use bootstrap binaries.
@@ -399,6 +399,17 @@ classes of undefined behavior.
 %endif
 
 
+%package analyzer
+Summary:        A modular compiler frontend for the Rust language
+Group:          programming
+Requires:       rust = %{rustc_version}-%{release}
+
+%description analyzer
+rust-analyzer is a modular compiler frontend for the Rust language.
+It is a part of a larger rls-2.0 effort to create excellent IDE support
+for Rust.
+
+
 %if %{with newrpm}
 # debuginfo is available on x86_64 only
 %ifarch x86_64
@@ -541,7 +552,7 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=clang -C link-arg=-fuse-ld=lld"
   %{enable_debuginfo} \
   --set rust.codegen-units-std=1 \
   --enable-extended \
-  --tools=analysis,cargo,clippy,rls,rustfmt,src \
+  --tools=analysis,cargo,clippy,rls,rustfmt,rust-analyzer,src \
   --enable-vendor \
   --enable-verbose-tests \
   --release-channel=%{channel} \
@@ -758,6 +769,10 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=ld.lld -C link-arg=-fuse-ld=lld"
 %files analysis
 %{rustlibdir}/%{rust_triple}/analysis/
 
+%files analyzer
+%{_bindir}/rust-analyzer
+%{_libexecdir}/rust-analyzer-proc-macro-srv
+
 %if %{with miri}
 %files miri
 %{_bindir}/miri
@@ -766,6 +781,9 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=ld.lld -C link-arg=-fuse-ld=lld"
 
 
 %changelog
+* Fri Sep 23 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.64.0-1
+- new upstream release.
+
 * Fri Aug 12 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.63.0-1
 - new upstream release.