mirror of
https://github.com/mii443/wasmer.git
synced 2025-09-02 15:39:32 +00:00
gate the re-exports
This commit is contained in:
@ -446,29 +446,34 @@ mod value;
|
||||
pub mod vm;
|
||||
|
||||
#[cfg(feature = "sys")]
|
||||
/// sys docs
|
||||
/// sys
|
||||
pub mod sys;
|
||||
|
||||
#[cfg(feature = "sys")]
|
||||
pub use sys::*;
|
||||
|
||||
/// A compiled wasm module, ready to be instantiated.
|
||||
#[cfg(feature = "sys")]
|
||||
#[deprecated(note = "Use sys::Artifact instead")]
|
||||
/// A compiled wasm module, ready to be instantiated.
|
||||
pub type Artifact = sys::Artifact;
|
||||
/// The Builder contents of `Engine`
|
||||
#[cfg(feature = "sys")]
|
||||
#[deprecated(note = "Use sys::EngineBuilder instead")]
|
||||
/// The Builder contents of `Engine`
|
||||
pub type EngineBuilder = sys::EngineBuilder;
|
||||
/// Controls which experimental features will be enabled.
|
||||
#[cfg(feature = "sys")]
|
||||
#[deprecated(note = "Use sys::Features instead")]
|
||||
/// Controls which experimental features will be enabled.
|
||||
pub type Features = sys::Features;
|
||||
#[cfg(feature = "sys")]
|
||||
#[deprecated(note = "Use sys::BaseTunables instead")]
|
||||
/// Tunable parameters for WebAssembly compilation.
|
||||
/// This is the reference implementation of the `Tunables` trait,
|
||||
/// used by default.
|
||||
#[deprecated(note = "Use sys::BaseTunables instead")]
|
||||
pub type BaseTunables = sys::BaseTunables;
|
||||
#[cfg(feature = "sys")]
|
||||
#[deprecated(note = "Use sys::VMConfig instead")]
|
||||
/// Configuration for the the runtime VM
|
||||
/// Currently only the stack size is configurable
|
||||
#[deprecated(note = "Use sys::VMConfig instead")]
|
||||
pub type VMConfig = sys::VMConfig;
|
||||
|
||||
#[cfg(feature = "js")]
|
||||
|
Reference in New Issue
Block a user