Skip to content
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

Backport 9196 to release-25.0.0 #9204

Merged

Commits on Sep 5, 2024

  1. Use the CallHook::CallingHost and ReturningFromHost with components (b…

    …ytecodealliance#9196)
    
    * Use the CallHook::CallingHost and ReturningFromHost with components
    
    We never implemented calling the CallingHost and ReturningFromHost hooks
    for component host calls.
    
    co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>
    
    * Add tests
    
    * Run hooks under `catch_unwind_and_longjmp`
    
    * Cleanup the imports
    
    * Remove todo
    
    * Ensure that returning hooks are run
    
    * Appease clippy
    
    * Suggestions from code review
    
    * Reuse infrastructure from the core-wasm call-hook test
    
    * Remove redundant test
    
    * Add a realloc test
    
    * Switch the realloc test to handle returning a string
    
    * Rework the realloc test to check that we're tracking host reallocs
    
    * Use the call hook in the realloc host call
    
    * Unnecessary pub mod
    
    * Add a post-return test
    
    * Remove unnecessary assertions
    
    * Format
    
    * Remove incorrect hook calls for realloc uses
    
    ---------
    
    Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>
    elliottt and fitzgen committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    8707aba View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    a52d8d4 View commit details
    Browse the repository at this point in the history