From a45e99696ca3bda263e016824a72a0ed6f6bb9a4 Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 7 Sep 2018 16:49:05 +0200 Subject: [PATCH] Fixed compiling on latest nightly --- src/lib.rs | 2 -- src/raw.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2ae020e..ac36a8f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,5 @@ //! Rust API library for the [CommonWA specification](https://github.com/CommonWA/cwa-spec). -#![feature(wasm_import_module)] - #[macro_use] mod utils; diff --git a/src/raw.rs b/src/raw.rs index c51cd48..67b04d4 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -1,4 +1,3 @@ -#[wasm_import_module = "cwa"] extern "C" { pub fn log_write(level: i32, text_ptr: *const u8, text_len: usize); pub fn env_get(