Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releases/v0.10.2 #69

Merged
merged 2 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@

All notable changes to this project will be documented in this file.

## [0.10.2] - 2025-02-21

### 🐛 Bug Fixes

- Wasm app logging

## [0.10.1] - 2025-02-20

### 🐛 Bug Fixes

- Mixing of http scheme and cloning of InstancePre obj

### ⚙️ Miscellaneous Tasks

- Release

## [0.10.0] - 2025-02-19

### 🚜 Refactor
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "0.10.1"
version = "0.10.2"
edition = "2021"
publish = false
authors = ["FastEdge Development Team"]
Expand Down
10 changes: 5 additions & 5 deletions crates/runtime/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,6 @@ impl StoreBuilder {
let table = ResourceTable::new();

wasi_ctx_builder.envs(&self.env);

let wasi = match self.version {
WasiVersion::Preview1 => Wasi::Preview1(wasi_ctx_builder.build_p1()),
WasiVersion::Preview2 => Wasi::Preview2(wasi_ctx_builder.build()),
};
let wasi_nn = self.make_wasi_nn()?;

let logger = if let Some(mut logger) = self.logger {
Expand All @@ -212,6 +207,11 @@ impl StoreBuilder {
None
};

let wasi = match self.version {
WasiVersion::Preview1 => Wasi::Preview1(wasi_ctx_builder.build_p1()),
WasiVersion::Preview2 => Wasi::Preview2(wasi_ctx_builder.build()),
};

let mut inner = wasmtime::Store::new(
&self.engine,
Data {
Expand Down