Skip to content

Conversation

@tronicboy1
Copy link

@tronicboy1 tronicboy1 commented Sep 14, 2023

Description

Changes the use of cargo build internally to cargo rustc and adds the --crate-type cdylib flag for smoother multi-target compilation.

Closes #1297

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! πŸ˜„ ✨✨

@tronicboy1 tronicboy1 changed the title Feature/1297/crate type flag in cargo build Use rustc --crate-type for smoother multi-target compilation in build stage Sep 14, 2023
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.

Using --crate-type for smoother multi-target compilation

1 participant