mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-12 13:57:14 +00:00
webidl: Compile and test the bindings emitted from WebIDL compilation
This commit is contained in:
parent
ba4697bfb1
commit
ce8238cdd8
@ -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"
|
||||||
|
|
||||||
|
6
crates/webidl/tests/expected/lib.rs
Executable file
6
crates/webidl/tests/expected/lib.rs
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#![feature(wasm_custom_section)]
|
||||||
|
#![allow(bad_style)]
|
||||||
|
|
||||||
|
extern crate wasm_bindgen;
|
||||||
|
|
||||||
|
mod Event;
|
Loading…
x
Reference in New Issue
Block a user