Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PassiveLogic/JavaScriptKit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: swiftwasm/JavaScriptKit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 142 files changed
  • 2 contributors

Commits on Aug 11, 2026

  1. Configuration menu
    Copy the full SHA
    30d994d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e10836b View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2026

  1. Configuration menu
    Copy the full SHA
    ccd828b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c58ffa4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d13c994 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a099736 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    81dee2f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf00750 View commit details
    Browse the repository at this point in the history
  7. Merge pull request swiftwasm#799 from PassiveLogic/kr/stack-abi-gener…

    …ics-import
    
    BridgeJS: Support generic functions on imported JS APIs
    krodak authored Aug 13, 2026
    Configuration menu
    Copy the full SHA
    3966530 View commit details
    Browse the repository at this point in the history
  8. BridgeJS: Lower imported optional stack parameters fully on the stack

    An imported optional whose payload is stack-only ([T]?, [String: V]?,
    @js struct?) used a hybrid convention: the isSome flag crossed as a wasm
    i32 parameter while the payload was conditionally pushed onto the shared
    stacks. Optional returns and optional array elements of the same types
    already travel entirely on the stacks: payload first, then a 0/1 flag on
    the i32 stack.
    
    This lowers those parameters the same way. The Swift thunk pushes the
    payload (if some) followed by the flag, the wasm signature carries no
    argument for the parameter, and the JS handler pops the flag before
    conditionally lifting the payload, through the same fragment already
    used for optional returns and elements.
    
    The hybrid shape was the last parameter category that both passed a wasm
    argument and pushed stack data, which is what enabled the argument
    transposition fixed in swiftwasm#794. Every stack-touching parameter is now
    flagless and reverse-ordered, matching returns and elements. All other
    optional parameter ABIs (scalars, strings, JSObject, closures, enums,
    heap objects) are unchanged.
    krodak committed Aug 13, 2026
    Configuration menu
    Copy the full SHA
    f998117 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2026

  1. Configuration menu
    Copy the full SHA
    9750486 View commit details
    Browse the repository at this point in the history
  2. Merge pull request swiftwasm#802 from PassiveLogic/kr/optional-param-…

    …stack-flag
    
    BridgeJS: Lower imported optional stack parameters fully on the stack
    krodak authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    c3ac9da View commit details
    Browse the repository at this point in the history
Loading