Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions vendored/patches/wasm-bindgen/UPGRADE_FAILURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# wasm-bindgen upgrade to 0.2.125

- Current vendored version: 0.2.123
- Target upstream release/ref: 0.2.125
- Workflow run: https://github.com/DioxusLabs/wasm-bindgen-wry/actions/runs/27463816192

## Result

The script applies vendored/patches/wasm-bindgen onto the target upstream release/ref, replaces the tracked vendored/wasm-bindgen directory with the patched result, regenerates patches against the new upstream base, and bumps local crate versions.

### Cloned upstream wasm-bindgen

```text
Cloning into '/home/runner/work/_temp/wasm-bindgen-upgrade.rJ25U4/upstream-wasm-bindgen'...
```

### Checked out upstream 0.2.125

```text
Note: switching to '0.2.125'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c <new-branch-name>

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 6ff7f1cd2 Release 0.2.125 (#5200)
```

### Normalized wasm-bindgen patch versions

```text
Normalized 9 patch file(s) from base 861696ae5ad7679c6b3eed7a448e34d65ced12e4 to 6ff7f1cd2f636d6f19d29b45680885088cc9e653.
Committed patch files were not modified before patch application.
```

### Failed to apply wasm-bindgen patch stack

```text
Applying: Prepare root workspace for wry patching
Applying: Point sys crates at the wry shim
error: sha1 information is lacking or useless (crates/macro/Cargo.toml).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0002 Point sys crates at the wry shim

Upstream worktree status:
```

## Manual work required

Failed step: Failed to apply wasm-bindgen patch stack

The tracked wasm-bindgen directory may contain a partial update if the failure occurred after replacement. See this report for logs.