mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 14:42:35 +03:00
Fix tests that are missing wasm_import_module
This commit is contained in:
parent
03433a0ef6
commit
86625e78bc
@ -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::*;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user