Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite wasm_target to use target-libdir #1343

Merged

Conversation

daidoji
Copy link
Contributor

@daidoji daidoji commented Oct 30, 2023

Rewritten wasm_target to use target libdir from the rustc tool rather than looking through sysroot. This is to accomodate non-rustup installations.

Fixes bug-1342

Can clean up unused sysroot stuff too in this module if that's appropriate. Just wanted someone to agree with this before I put anymore work into it.

Make sure these boxes are checked! 📦✅

  • You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨

Rewritten wasm_target to use target libdir from the rustc tool rather
than looking through sysroot.  This is to accomodate non-rustup
installations.
@daidoji daidoji marked this pull request as ready for review October 31, 2023 19:53
Copy link
Member

@drager drager left a comment

Choose a reason for hiding this comment

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

Thank you!

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.

OS System Rust package pecularities cause wasm-pack build not to work on Quickstart from wasm-book
2 participants