From 44e826e8200cb3387a151c4d391070f25b6e8eac Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Mon, 18 May 2020 14:55:44 +1200 Subject: [PATCH] Updates `CHANGELOG.md`. --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17eb651..e00db72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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