bytecodealliance / wasmtime

A fast and secure runtime for WebAssembly
https://wasmtime.dev/
Apache License 2.0
14.82k stars 1.23k forks source link

Add `anyhow` stuff to our internal `wasmtime` crate prelude #8804

Closed fitzgen closed 3 weeks ago

fitzgen commented 3 weeks ago

We use it basically everywhere and it is annoying to have to import.

I also did an audit of existing use statements and removed the now-redundant ones and replaced one-off imports with usage of the prelude, so that the prelude is available by default in more places.

github-actions[bot] commented 3 weeks ago

Subscribe to Label Action

cc @fitzgen

This issue or pull request has been labeled: "wasmtime:api", "wasmtime:config", "wasmtime:ref-types" Thus the following users have been cc'd because of the following labels: * fitzgen: wasmtime:ref-types To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file. [Learn more.](https://github.com/bytecodealliance/subscribe-to-label-action)
github-actions[bot] commented 3 weeks ago

Label Messager: wasmtime:config

It looks like you are changing Wasmtime's configuration options. Make sure to complete this check list:


To modify this label's message, edit the .github/label-messager/wasmtime-config.md file. To add new label messages or remove existing label messages, edit the .github/label-messager.json configuration file. [Learn more.](https://github.com/bytecodealliance/label-messager-action)