webidl: Compile and test the bindings emitted from WebIDL compilation

This commit is contained in:
Nick Fitzgerald 2018-05-31 18:13:57 -07:00
parent ba4697bfb1
commit ce8238cdd8
2 changed files with 11 additions and 0 deletions

View File

@ -7,7 +7,12 @@ authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
name = "webidl-all" name = "webidl-all"
path = "tests/all/lib.rs" path = "tests/all/lib.rs"
[[test]]
name = "webidl-expected"
path = "tests/expected/lib.rs"
[dev-dependencies] [dev-dependencies]
wasm-bindgen = { version = "=0.2.11", path = "../..", default-features = false }
wasm-bindgen-backend = { version = "=0.2.11", path = "../backend", features = ["extra-traits"] } wasm-bindgen-backend = { version = "=0.2.11", path = "../backend", features = ["extra-traits"] }
diff = "0.1.11" diff = "0.1.11"

View File

@ -0,0 +1,6 @@
#![feature(wasm_custom_section)]
#![allow(bad_style)]
extern crate wasm_bindgen;
mod Event;