Skip to content

Commit

Permalink
chore: Remove sys feature gates
Browse files Browse the repository at this point in the history
No longer necessary due to Wasmer unification
  • Loading branch information
theduke committed Mar 20, 2023
1 parent 6832db7 commit 1f8e508
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/wasi/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ pub struct PluggableRuntime {
pub rt: Arc<dyn VirtualTaskManager>,
pub networking: DynVirtualNetworking,
pub http_client: Option<DynHttpClient>,
#[cfg(feature = "sys")]
pub engine: Option<wasmer::Engine>,
#[derivative(Debug = "ignore")]
pub tty: Option<Arc<dyn TtyBridge + Send + Sync>>,
Expand Down Expand Up @@ -121,7 +120,6 @@ impl PluggableRuntime {
rt,
networking,
http_client,
#[cfg(feature = "sys")]
engine: None,
tty: None,
}
Expand All @@ -134,7 +132,6 @@ impl PluggableRuntime {
self.networking = Arc::new(net)
}

#[cfg(feature = "sys")]
pub fn set_engine(&mut self, engine: Option<wasmer::Engine>) {
self.engine = engine;
}
Expand Down Expand Up @@ -169,7 +166,6 @@ impl WasiRuntime for PluggableRuntime {
self.http_client.as_ref()
}

#[cfg(feature = "sys")]
fn engine(&self) -> Option<wasmer::Engine> {
self.engine.clone()
}
Expand Down

0 comments on commit 1f8e508

Please sign in to comment.