Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
rust-analyzer


Commits:
1919e019 by Daniel M. Capella at 2024-09-09T15:04:15-04:00
upgpkg: 20240909-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = rust-analyzer
        pkgdesc = Rust compiler front-end for IDEs
-       pkgver = 20240902
+       pkgver = 20240909
        pkgrel = 1
        url = https://rust-analyzer.github.io/
        arch = x86_64
@@ -8,7 +8,7 @@ pkgbase = rust-analyzer
        makedepends = git
        depends = gcc-libs
        depends = rust-src
-       source = 
git+https://github.com/rust-lang/rust-analyzer.git#tag=2024-09-02
-       b2sums = 
b3ba7f5071485b4b4aa40bb5183709f9edad04f30a9d4ec2fc0747b738c8618903cc27ddf5a66e89c8630fabd28e7e380de13352e3539b0c436d11ecabb40d6e
+       source = 
git+https://github.com/rust-lang/rust-analyzer.git#tag=2024-09-09
+       b2sums = 
ad03c12e75046705fc7fb9307f4a08f4bc47c12feb3e0a83f27a03c5a2f071b498f7bed469a76abbb6fafa7c98d9a1805e9456d35f47f8217276b9ee40b1cb68
 
 pkgname = rust-analyzer


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Sergey A. <[email protected]>
 
 pkgname=rust-analyzer
-_pkgver=2024-09-02
+_pkgver=2024-09-09
 pkgver=${_pkgver//-}
 pkgrel=1
 pkgdesc='Rust compiler front-end for IDEs'
@@ -16,13 +16,7 @@ depends=(
 )
 makedepends=(git)
 source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver";)
-b2sums=('b3ba7f5071485b4b4aa40bb5183709f9edad04f30a9d4ec2fc0747b738c8618903cc27ddf5a66e89c8630fabd28e7e380de13352e3539b0c436d11ecabb40d6e')
-
-# Use LTO
-export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-
-# Use debug
-export CARGO_PROFILE_RELEASE_DEBUG=2
+b2sums=('ad03c12e75046705fc7fb9307f4a08f4bc47c12feb3e0a83f27a03c5a2f071b498f7bed469a76abbb6fafa7c98d9a1805e9456d35f47f8217276b9ee40b1cb68')
 
 prepare() {
   cd $pkgname
@@ -30,6 +24,12 @@ prepare() {
 }
 
 build() {
+  # Use LTO
+  export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
+  # Use debug
+  export CARGO_PROFILE_RELEASE_DEBUG=2
+
   cd $pkgname
   CFG_RELEASE=1 cargo build --release --locked --offline
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rust-analyzer/-/commit/1919e019d87c90d9b582baa2e67b3f5bc0e9cc3e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rust-analyzer/-/commit/1919e019d87c90d9b582baa2e67b3f5bc0e9cc3e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to