Skip to content

Commit

Permalink
Remove stabilized wasm feature attributes
Browse files Browse the repository at this point in the history
According to rustwasm/book#52
wasm_custom_section and wasm_import_module are stabilized, and not
supported anymore by latest nightly rustc
  • Loading branch information
userzimmermann committed Aug 14, 2018
1 parent 7e86fc5 commit 3d82c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opt/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion wasm-api/wasm-api.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 3d82c3e

Please sign in to comment.