mirror of
https://github.com/mii443/wasmer.git
synced 2025-09-03 07:59:25 +00:00
fix(c-api) Move the middleware API into the unstable
module.
This commit is contained in:
@ -41,7 +41,5 @@
|
||||
#[cfg(feature = "deprecated")]
|
||||
pub mod deprecated;
|
||||
pub mod error;
|
||||
#[cfg(feature = "middlewares")]
|
||||
pub mod metering;
|
||||
mod ordered_resolver;
|
||||
pub mod wasm_c_api;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// C API for metering.
|
||||
|
||||
use super::wasm_c_api::instance::wasm_instance_t;
|
||||
use super::super::super::instance::wasm_instance_t;
|
||||
use std::sync::Arc;
|
||||
use wasmer::wasmparser::Operator;
|
||||
use wasmer_middlewares::{
|
1
lib/c-api/src/wasm_c_api/unstable/middlewares/mod.rs
Normal file
1
lib/c-api/src/wasm_c_api/unstable/middlewares/mod.rs
Normal file
@ -0,0 +1 @@
|
||||
pub mod metering;
|
@ -1,3 +1,5 @@
|
||||
pub mod engine;
|
||||
#[cfg(feature = "middlewares")]
|
||||
pub mod middlewares;
|
||||
pub mod module;
|
||||
pub mod target_lexicon;
|
||||
|
Reference in New Issue
Block a user