Skip to content

Commit 23af331

Browse files
committed
rust: copy std dll into /usr/bin
1 parent 52a66c3 commit 23af331

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

rust/PKGBUILD

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rust_dist_server=https://static.rust-lang.org/dist
77

88
pkgname=rust
99
pkgver=1.91.1
10-
pkgrel=2
10+
pkgrel=3
1111
pkgdesc="Systems programming language focused on safety, speed and concurrency"
1212
arch=('x86_64')
1313
url="https://www.rust-lang.org/"
@@ -38,7 +38,7 @@ source=("${rust_dist_server}/${pkgname}c-${pkgver}-src.tar.xz"{,.asc}
3838
noextract=(${pkgname}c-${pkgver}-src.tar.xz)
3939
sha256sums=('66401bb815e236cc6b2aacbbe23b61b286c1fe27a67902e7c0222cfe77b3dbab'
4040
'SKIP'
41-
'f5e4a8d2bc0b1b66d945f54285cc66bf088b05c5e3dfbb12d5d1d05dbd1de203')
41+
'c24975dfa00b1b8e133c5940790640a5327f683ff22ad123d096a8fb37f0f397')
4242
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
4343
'474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
4444
'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
@@ -98,6 +98,9 @@ package_rust() {
9898
rm components install.log manifest-* rust-installer-version uninstall.sh
9999
rm "${pkgdir}/etc/target-spec-json-schema.json"
100100

101+
# workaround for https://github.com/msys2/MSYS2-packages/issues/5784
102+
cp "${pkgdir}"/usr/lib/rustlib/x86_64-pc-cygwin/lib/std-*.dll -t "${pkgdir}/usr/bin"
103+
101104
install -d "${pkgdir}/usr/share/bash-completion/completions"
102105
mv "${pkgdir}/etc/bash_completion.d/cargo" \
103106
"${pkgdir}/usr/share/bash-completion/completions/cargo"

rust/bootstrap.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ tools = [
2525
"rustdoc",
2626
"rustfmt",
2727
]
28-
build-dir = "cygwin-build-8"
28+
build-dir = "cygwin-build-9"
2929

3030
# Do not generate docs for cygwin
3131
docs = false

0 commit comments

Comments
 (0)