Skip to content

Commit 68cac2e

Browse files
committed
fix(wasm): An error about missing env dependency
1 parent 68972ce commit 68cac2e

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,7 @@ jobs:
161161
command: install
162162
args: wasm-pack
163163
- name: Run tests
164-
run: wasm-pack test --node
165-
# Weird wasm-pack error: https://github.com/rustwasm/wasm-pack/issues/743
166-
# It works locally with the same wasm-pack & dependencies versions
167-
continue-on-error: true
164+
run: wasm-pack test --node --release
168165
working-directory: ./bindings/wasm
169166

170167
test-wasm-typescript:
@@ -192,7 +189,4 @@ jobs:
192189
working-directory: ./bindings/wasm
193190
- name: Run tests
194191
run: npm run test
195-
# Affected by https://github.com/rustwasm/wasm-pack/issues/743
196-
# Which is caused by `parking_lot` and should be fixed by https://github.com/Amanieu/parking_lot/pull/302
197-
continue-on-error: true
198192
working-directory: ./bindings/wasm

bindings/wasm/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixed
66

77
- Invalid handling of double-quoted property values like in `font-family: "Open Sans"`. [#129](https://github.com/Stranger6667/css-inline/issues/129)
8+
- An error about missing `env` dependency.
89

910
## [0.7.5] - 2021-07-24
1011

bindings/wasm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ serde = { version = "1.0", features = ["derive"] }
2828
wee_alloc = "0.4"
2929
serde_derive = "1"
3030
serde_json = "1"
31+
parking_lot_core = "=0.8.0"
3132

3233
[dev-dependencies]
3334
wasm-bindgen-test = "0.3.0"

0 commit comments

Comments
 (0)