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

all: move -panic=trap support to the compiler/runtime #4195

Merged
merged 1 commit into from
Mar 19, 2024

Commits on Mar 16, 2024

  1. all: move -panic=trap support to the compiler/runtime

    Support for `-panic=trap` was previously a pass in the optimization
    pipeline. This change moves it to the compiler and runtime, which in my
    opinion is a much better place.
    
    As a side effect, it also fixes
    #4161 by trapping inside
    runtime.runtimePanicAt and not just runtime.runtimePanic.
    
    This change also adds a test for the list of imported functions. This is
    a more generic test where it's easy to add more tests for WebAssembly
    file properties, such as exported functions.
    aykevl committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    c6dc9f1 View commit details
    Browse the repository at this point in the history