Skip to content

Commit

Permalink
Updates CHANGELOG.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Sep 26, 2020
1 parent 99de850 commit 80400bd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 🤍 Unreleased

- ### 🤕 Fixes

- **Pass through extra options when building tests - [azriel91], [issue/698] [pull/851]**

`wasm-pack test` accepts extra options to pass through to `cargo` when running tests.
Under the hood, this runs `cargo build` before `cargo test`, and the additional options were only passed through to the `test` command. This meant that crates that enabled native features by default could not be built using `wasm-pack`, as it would attempt to build tests for the `wasm32-unknown-unknown` target with the native features enabled.

This PR passes through the extra options to `cargo` when building the tests as well.

[azriel91]: https://github.com/azriel91
[pull/851]: https://github.com/rustwasm/wasm-pack/pull/851
[issue/698]: https://github.com/rustwasm/wasm-pack/issues/698

## ☁️ 0.9.1

- ### 🤕 Fixes
Expand Down

0 comments on commit 80400bd

Please sign in to comment.