Skip to content

Conversation

@lann
Copy link
Collaborator

@lann lann commented Nov 10, 2025

This test verifies that memory_consumed accounts for initial memory reservations from instantiation.

Copy link
Collaborator

@rylev rylev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this a test in Spin and not in wasmtime? I believe you're only using wasmtime primitives in this test, no?

@lann
Copy link
Collaborator Author

lann commented Nov 11, 2025

memory_consumed is a method on StoreLimitsAsync which is what is implemented in this file. Basically I wrote this test to confirm my understanding and then realized I might as well commit it. 🤷

Copy link
Collaborator

@rylev rylev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should have read the whole test 😅

@lann lann merged commit 0be82b3 into main Nov 11, 2025
17 checks passed
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.

3 participants