turbo: update to 2.5.0 (#23869)
This commit is contained in:
parent
ee5b8815f7
commit
104198fa13
@ -3,7 +3,7 @@
|
||||
_realname=turbo
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=2.4.4
|
||||
pkgver=2.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="Incremental bundler and build system optimized for JavaScript and TypeScript (mingw-w64)"
|
||||
arch=('any')
|
||||
@ -25,17 +25,14 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-rust"
|
||||
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"
|
||||
"rust-1.85.0-fixes.patch")
|
||||
sha256sums=('9a3ff8799369b40f181cac900309fcbddd71d33ca72dbe5e2268187a22816114'
|
||||
"zstd-sys-remove-statik.patch")
|
||||
sha256sums=('e06638922f7515a3484cb8535800d4cd12e0356f1ad078c05a08461ea3011993'
|
||||
'c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa'
|
||||
'48f4900ceb02d3aaf9a1020f33d56629156e96759f456c0e7ca18bfcf910767b'
|
||||
'a9fbfe92c38fd7cc76d8f87d7194f158fd4c9eed774b95f203158abeebcccec6')
|
||||
'48f4900ceb02d3aaf9a1020f33d56629156e96759f456c0e7ca18bfcf910767b')
|
||||
|
||||
prepare() {
|
||||
cd turborepo
|
||||
|
||||
patch -Np1 -i ../rust-1.85.0-fixes.patch
|
||||
patch -d ../zstd-sys-2.0.10+zstd.1.5.6 -i ../zstd-sys-remove-statik.patch
|
||||
cat >> Cargo.toml <<END
|
||||
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
--- a/crates/turborepo-api-client/src/lib.rs
|
||||
+++ b/crates/turborepo-api-client/src/lib.rs
|
||||
@@ -1,4 +1,3 @@
|
||||
-#![feature(async_closure)]
|
||||
#![feature(error_generic_member_access)]
|
||||
#![feature(assert_matches)]
|
||||
#![deny(clippy::all)]
|
||||
--- a/crates/turborepo-globwatch/src/lib.rs
|
||||
+++ b/crates/turborepo-globwatch/src/lib.rs
|
||||
@@ -214,7 +214,7 @@ impl GlobWatcher {
|
||||
// requester. flushes should not be considered as events.
|
||||
for flush_id in e
|
||||
.paths
|
||||
- .extract_if(|p| p.starts_with(flush_dir.as_path()))
|
||||
+ .extract_if(.., |p| p.starts_with(flush_dir.as_path()))
|
||||
.filter_map(|p| {
|
||||
get_flush_id(
|
||||
p.strip_prefix(flush_dir.as_path())
|
||||
Loading…
x
Reference in New Issue
Block a user