Skip to content

Commit

Permalink
c-api: Remove reexport of wasmtime crate
Browse files Browse the repository at this point in the history
This is a follow-up to bytecodealliance#6765 to remove this reexport since it was
originally added to use both the C API and the `wasmtime` crate in the
same downstream crate, but this should be possible through Cargo with:

    [dependencies]
    wasmtime = "13"
    wasmtime-c-api = { version = "13", package = "wasmtime-c-api" }

and that way `wasmtime::*` is available as well as `wasmtime_c_api::*`
  • Loading branch information
alexcrichton committed Sep 29, 2023
1 parent 90e4daf commit 30cebd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/c-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]

pub use wasmtime::*;

mod config;
mod engine;
mod error;
Expand Down

0 comments on commit 30cebd7

Please sign in to comment.