turbo: update to 2.3.0

This commit is contained in:
Maksim Bondarenkov
2024-11-15 09:10:42 +03:00
committed by GitHub
parent c269cec8a3
commit 6f1911690c

View File

@@ -3,7 +3,7 @@
_realname=turbo
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2.2.3
pkgver=2.3.0
pkgrel=1
pkgdesc="Incremental bundler and build system optimized for JavaScript and TypeScript (mingw-w64)"
arch=('any')
@@ -25,7 +25,7 @@ options=('!strip')
source=("git+${msys2_repository_url}.git#tag=v${pkgver}"
"zstd-sys.tar.gz::https://crates.io/api/v1/crates/zstd-sys/2.0.10+zstd.1.5.6/download"
"zstd-sys-remove-statik.patch")
sha256sums=('c2a7c2230bc548f22468043412ab8a1584d43d0e86742e2703b378d7ae099b94'
sha256sums=('7288eb8af890249ac4c277e0953daaa9ba8d84c8982c2d172ae45fccd6cb82bc'
'c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa'
'48f4900ceb02d3aaf9a1020f33d56629156e96759f456c0e7ca18bfcf910767b')
@@ -40,7 +40,7 @@ zstd-sys = { path = "../zstd-sys-2.0.10+zstd.1.5.6" }
END
rm rust-toolchain.toml
cargo update -p zstd-sys
cargo update -p zstd-sys -p psm
RUSTC_BOOTSTRAP=1 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
@@ -51,6 +51,7 @@ build() {
export OPENSSL_NO_VENDOR=1
export PKG_CONFIG_ALL_DYNAMIC=1
export ZSTD_SYS_USE_PKG_CONFIG=1
# this disables telemetry only at runtime, the relevant code is compiled anyway
export TURBO_TELEMETRY_DISABLED=1
cargo build --frozen --profile release-turborepo -p turbo
}