From 86625e78bcf2d8e7a2bf7a5b4b89b73467fff6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Flemstr=C3=B6m?= Date: Tue, 3 Apr 2018 11:00:41 +0200 Subject: [PATCH] Fix tests that are missing wasm_import_module --- tests/dependencies.rs | 4 ++-- tests/non-debug.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dependencies.rs b/tests/dependencies.rs index 174ab985f..9e7d4408f 100644 --- a/tests/dependencies.rs +++ b/tests/dependencies.rs @@ -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::*; diff --git a/tests/non-debug.rs b/tests/non-debug.rs index cff3a6b42..71fd88fd0 100644 --- a/tests/non-debug.rs +++ b/tests/non-debug.rs @@ -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;