Migrate webidl tests to wasm_bindgen_test (#590)

This commit moves the `webidl/tests` folder to a new `crates/webidl-tests` crate
(to have a test-only build script) and ports them to the `#[wasm_bindgen_test]`
attribute, which should hopefully make testing much speedier for execution!
This commit is contained in:
Alex Crichton
2018-07-30 11:06:29 -07:00
committed by GitHub
parent d876475ce3
commit 7e16690f10
29 changed files with 687 additions and 1107 deletions

View File

@ -1593,6 +1593,7 @@ impl<'a> Context<'a> {
fn gc(&mut self) -> Result<(), Error> {
let module = mem::replace(self.module, Module::default());
let module = module.parse_names().unwrap_or_else(|p| p.1);
let result = wasm_gc::Config::new()
.demangle(self.config.demangle)
.keep_debug(self.config.keep_debug || self.config.debug)