Conversation
f781c13 to
23af331
Compare
| rm "${pkgdir}/etc/target-spec-json-schema.json" | ||
|
|
||
| # workaround for https://github.com/msys2/MSYS2-packages/issues/5784 | ||
| cp "${pkgdir}"/usr/lib/rustlib/x86_64-pc-cygwin/lib/std-*.dll -t "${pkgdir}/usr/bin" |
There was a problem hiding this comment.
I believe that for windows-gnu it's a copied file, but didn't check rust sources
There was a problem hiding this comment.
Oh, yes. It's a copied one.
There was a problem hiding this comment.
Probably a good idea to hardlink it, so as not to waste space.
|
conflicting |
|
I know, I don't actually like this approach |
|
any response from upstream? |
|
I don't know. I didn't open any issue in rust repo, because |
|
Upstream doesn't guarantee anything outside |
|
How many binaries linked against it? |
|
Not many I imagine, even the one case I hit it was only in the test suite, not the build. Still would be nice not to hit it, though. |
|
Almost all rust binaries link std statically. It would be possible to link std dynamically if the std dll is in However, the proc macros use the std dll. |
fixes #5784