Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: #[wasm_import_module] as #[link(...)] #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cwa"
version = "0.1.0"
version = "0.1.1"
authors = ["losfair <[email protected]>"]
description = "Common WebAssembly API library"
license = "MIT"
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/raw.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[wasm_import_module = "cwa"]
#[link(wasm_import_module = "cwa")]
extern "C" {
pub fn log_write(level: i32, text_ptr: *const u8, text_len: usize);
pub fn env_get(
Expand Down