Skip to content

Conversation

@benbrandt
Copy link
Member

Highlights are that all wasm-tools packages and wasmtime are at their latest versions.

Highlights are that all wasm-tools packages and wasmtime are at their latest versions.

#[derive(Debug, Copy, Clone)]
struct MyFloat32(f32);
struct MyF32(f32);
Copy link
Member Author

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<()> {
Copy link
Member Author

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;
Copy link
Member Author

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

@benbrandt benbrandt marked this pull request as ready for review October 16, 2024 12:32
@dicej dicej merged commit f19009e into bytecodealliance:main Oct 16, 2024
1 check passed
@dicej
Copy link
Collaborator

dicej commented Oct 16, 2024

Thanks, @benbrandt !

@benbrandt benbrandt deleted the update-deps-20241009 branch October 17, 2024 07:47
@benbrandt benbrandt mentioned this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants