Skip to content

Commit 90e4daf

Browse files
authored
Make C API usable from Rust (#6765)
1 parent 3ffb682 commit 90e4daf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/c-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ publish = false
1111

1212
[lib]
1313
name = "wasmtime"
14-
crate-type = ["staticlib", "cdylib"]
14+
crate-type = ["staticlib", "cdylib", "rlib"]
1515
doc = false
1616
test = false
1717
doctest = false

crates/c-api/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
1212
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]
1313

14+
pub use wasmtime::*;
15+
1416
mod config;
1517
mod engine;
1618
mod error;

0 commit comments

Comments
 (0)