From 82214dc2d79238d2c7d2b6dc9ab28ee5fe763597 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 8 Jun 2020 13:03:29 +0200 Subject: [PATCH] Fix wasm32-unknown-emscripten build of corelib There's an implicit dependency to instant, which in turn requires a patch to work around https://github.com/rust-lang/rust/issues/67782 --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6e031c211f7..50e650c31cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" }