Skip to content

Conversation

@ognevny
Copy link
Collaborator

@ognevny ognevny commented Nov 11, 2025

fixes #5784

@ognevny ognevny mentioned this pull request Nov 11, 2025
1 task
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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be a link?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that for windows-gnu it's a copied file, but didn't check rust sources

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, yes. It's a copied one.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a good idea to hardlink it, so as not to waste space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong location for rust stdlib

3 participants