Skip to content

Commit

Permalink
Revert attempts to make emscripten build work
Browse files Browse the repository at this point in the history
This reverts commit aef96cb, commit
1b2d0a3, and commit
82214dc.

The wasm32-unknown-emscripten target is not very well supported right
now, from build issues in instant/winit to toolchain issues
(rust-lang/rust#66916).

So let's not go down that route for now.
  • Loading branch information
tronical committed Jun 8, 2020
1 parent aef96cb commit 2c1ecc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,3 @@ 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" }
3 changes: 0 additions & 3 deletions sixtyfps_runtime/corelib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@ once_cell = "1.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
scoped-tls-hkt = "0.1"

[target.wasm32-unknown-emscripten.dependencies]
winit = { version = "0.22.1", features = [ "stdweb" ] }

[build-dependencies]
cbindgen = "0.14.2"

0 comments on commit 2c1ecc7

Please sign in to comment.