Skip to content

Rewrite wasm_target to use target-libdir#1343

Merged
drager merged 1 commit intodrager:masterfrom
daidoji:bug-issue-1342-non-rustup-builds-fail
Nov 13, 2023
Merged

Rewrite wasm_target to use target-libdir#1343
drager merged 1 commit intodrager:masterfrom
daidoji:bug-issue-1342-non-rustup-builds-fail

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
Owner

@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