Improve the emscripten backend (#172)

* Use the js! macro from stdweb

* Rework the Buffer::finish method

* Use references from stdweb

* Fix emscripten warnings

* Rework the run() method to use stdweb

* Adjust timings

* Add entry in CHANGELOG
This commit is contained in:
tomaka 2017-10-22 14:17:25 +02:00 • committed by GitHub
parent f7c503ff05
commit c524f63000
4 changed files with 126 additions and 123 deletions

View file

@ -22,3 +22,6 @@ libc = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
coreaudio-rs = "0.7.0"
[target.'cfg(target_os = "emscripten")'.dependencies]
stdweb = { version = "0.1.3", default-features = false }