Karel Hrkal

Results 18 comments of Karel Hrkal

> Should Cargo silently ignore all activated dev-dependencies? Yes. Cargo already ignores all dev dependencies when it comes to the resulting built code. If some of them are activated by...

Good news everyone! It turns out that there is an [existing function](https://github.com/kajacx/wasmer/blob/master/lib/api/src/function_env.rs#L139) for this case: ```rust /// Borrows a new mutable reference of both the attached Store and host state...

I have created a draft pull request: https://github.com/wasmerio/wai/pull/42 I need help with deciding on how to manage the new versions of wasmer and wasix in the imports, see the PR...

I think this should wait until https://github.com/wasmerio/wasmer/issues/3888 is resolved.

Yep, in [`warg-client` 0.4.1](https://docs.rs/warg-client/0.4.1/warg_client/struct.Client.html) it's: ```rust pub fn get_warg_registry(&self) -> &Option ``` But in [`warg-client` 0.4.2](https://docs.rs/warg-client/0.4.2/warg_client/struct.Client.html) (and 0.4.3) it's: ```rust pub async fn get_warg_registry( &self, namespace: &str ) -> Result...

`warg-protocol` also has a breaking change between [`0.4.1`](https://docs.rs/warg-protocol/0.4.1/warg_protocol/operator/struct.LogState.html) and [`0.4.2`](https://docs.rs/warg-protocol/0.4.2/warg_protocol/operator/struct.LogState.html): ```rust // 0.4.1 pub fn namespace_state( &self, namespace: &str ) -> Result // 0.4.2 pub fn namespace_state(&self, namespace: &str) ->...

> Also, #288 would fix. yea, I think it would be better to just switch to the `0.5.0` version of the warg crates and be done with it.

Ok, `data_and_store_mut` in not available in 3.1. I am thinking on how to migrate this properly. Thankfully, the wasix port will not be a problem, since that is only a...

> The code from wai-bindgen-wasmer which is needed in wasmer should be extracted into a separate crate, and that crate should be put in the wasmer and be used in...

@lanastara you can have a look at the [wit format](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md), but that is using wasmtime instead of wasmer. You also need to use wasmtime's compoent model, and there is not...