-
Notifications
You must be signed in to change notification settings - Fork 30
Update deps #108
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
Update deps #108
Conversation
Highlights are that all wasm-tools packages and wasmtime are at their latest versions.
|
|
||
| #[derive(Debug, Copy, Clone)] | ||
| struct MyFloat32(f32); | ||
| struct MyF32(f32); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these changes were motivated by the WIT spec changing from float to f prefix for these types
| } | ||
|
|
||
| fn drop(&mut self, this: Resource<ThingU32>) -> Result<()> { | ||
| async fn drop(&mut self, this: Resource<ThingU32>) -> Result<()> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems related to changes in the wasmtime bindgen in v25
| echo-float32: func(v: float32) -> float32; | ||
| echo-float64: func(v: float64) -> float64; | ||
| echo-f32: func(v: f32) -> f32; | ||
| echo-f64: func(v: f64) -> f64; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was needed because the newer parsers only support the new types
2d4b94b to
dc61f34
Compare
|
Thanks, @benbrandt ! |
Highlights are that all wasm-tools packages and wasmtime are at their latest versions.