mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00: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(
|
.file(
|
||||||
"src/lib.rs",
|
"src/lib.rs",
|
||||||
r#"
|
r#"
|
||||||
#![feature(proc_macro, wasm_custom_section)]
|
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
|
||||||
extern crate wasm_bindgen;
|
extern crate wasm_bindgen;
|
||||||
extern crate dependency;
|
extern crate dependency;
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
@ -51,7 +51,7 @@ fn dependencies_work() {
|
|||||||
.file(
|
.file(
|
||||||
"vendor/dependency/src/lib.rs",
|
"vendor/dependency/src/lib.rs",
|
||||||
r#"
|
r#"
|
||||||
#![feature(proc_macro, wasm_custom_section)]
|
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
|
||||||
extern crate wasm_bindgen;
|
extern crate wasm_bindgen;
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ fn works() {
|
|||||||
test_support::project()
|
test_support::project()
|
||||||
.debug(false)
|
.debug(false)
|
||||||
.file("src/lib.rs", r#"
|
.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 wasm_bindgen;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user