Skip to content

Commit

Permalink
Fix wasm32-unknown-emscripten build of corelib
Browse files Browse the repository at this point in the history
There's an implicit dependency to instant, which in turn requires a patch
to work around rust-lang/rust#67782
  • Loading branch information
tronical committed Jun 8, 2020
1 parent 5e7c637 commit 82214dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ members = [
'tests/driver_lib',
'tests/rustdriver'
]

# Needed to work around wasm32-unknown-emscripten toolchain aborting on cdylib crates
[patch.crates-io]
instant = { git = "https://github.com/sixtyfpsui/instant" }

0 comments on commit 82214dc

Please sign in to comment.