Fix tests that are missing wasm_import_module

This commit is contained in:
David Flemström 2018-04-03 11:00:41 +02:00
parent 03433a0ef6
commit 86625e78bc
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ fn dependencies_work() {
.file(
"src/lib.rs",
r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
extern crate dependency;
use wasm_bindgen::prelude::*;
@ -51,7 +51,7 @@ fn dependencies_work() {
.file(
"vendor/dependency/src/lib.rs",
r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;

View File

@ -5,7 +5,7 @@ fn works() {
test_support::project()
.debug(false)
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;