From 3d82c3ec4eb9ea2225593a37cc923299b57b9ec6 Mon Sep 17 00:00:00 2001 From: Stefan Zimmermann Date: Tue, 14 Aug 2018 15:20:15 +0200 Subject: [PATCH] Remove stabilized wasm feature attributes According to https://github.com/rustwasm/book/pull/52 wasm_custom_section and wasm_import_module are stabilized, and not supported anymore by latest nightly rustc --- opt/opt.rs | 2 +- wasm-api/wasm-api.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opt/opt.rs b/opt/opt.rs index 8f55401b..b1646da2 100644 --- a/opt/opt.rs +++ b/opt/opt.rs @@ -3,7 +3,7 @@ #![deny(missing_debug_implementations)] #![cfg_attr( feature = "wasm", - feature(use_extern_macros, wasm_custom_section, wasm_import_module) + feature(use_extern_macros) )] #[macro_use] diff --git a/wasm-api/wasm-api.rs b/wasm-api/wasm-api.rs index 3c7c4d60..0e501dac 100755 --- a/wasm-api/wasm-api.rs +++ b/wasm-api/wasm-api.rs @@ -1,6 +1,6 @@ #![cfg(target_arch = "wasm32")] #![cfg(feature = "emit_json")] -#![feature(use_extern_macros, wasm_custom_section, wasm_import_module)] +#![feature(use_extern_macros)] extern crate wasm_bindgen;