Repository navigation
Make Dependabot updates safe, fix stale AutoFill UniFFI bindings - #579
Merged
Merged
Conversation
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.189 to 0.2.190. - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.190/CHANGELOG.md) - [Commits](rust-lang/libc@0.2.189...0.2.190) --- updated-dependencies: - dependency-name: libc dependency-version: 0.2.190 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [objc2](https://github.com/madsmtm/objc2) from 0.6.4 to 0.6.5. - [Commits](madsmtm/objc2@objc2-0.6.4...objc2-0.6.5) --- updated-dependencies: - dependency-name: objc2 dependency-version: 0.6.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.53.1 to 1.53.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](tokio-rs/tokio@tokio-1.53.1...tokio-1.53.2) --- updated-dependencies: - dependency-name: tokio dependency-version: 1.53.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [zeroize](https://github.com/RustCrypto/utils) from 1.9.0 to 1.9.1. - [Commits](RustCrypto/utils@zeroize-v1.9.0...zeroize-v1.9.1) --- updated-dependencies: - dependency-name: zeroize dependency-version: 1.9.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
- ios job regenerates the AutoFill bindings and fails on any diff; a stale copy builds fine and aborts the extension at its first Rust call (114c345, #563). - bindgen.sh passes --no-format so its output doesn't depend on the local Xcode's swift-format. - dependabot.yml: one grouped PR per ecosystem for safe bumps (cargo: patch only, since 0.x minors break), a 7-day cooldown, and coverage for extension/.
#563 bumped uniffi from 0.29 to 0.32 without re-running bindgen.sh. The library now reports contract version 30 and new API checksums, while the committed Swift still expected 29, so the extension hit fatalError("UniFFI contract version mismatch") on its first Rust call. Regenerated with bindgen.sh. The public Swift API is unchanged; only the generated internals move (object pointers become handles, Equatable and Hashable are synthesized).
Contributor
|
This reverts commit 856b55f.
libc 0.2.190 gates mach_task_self() to macOS; num_threads 0.1.7 (via time -> tauri) still calls it on iOS, so iOS clippy failed. The bump is reverted in the previous commit.
git diff misses a deleted file that bindgen.sh recreates untracked; use git status --porcelain instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes Dependabot updates safe to land, and fixes the iOS AutoFill break the last batch caused.
What's in here
bindgen.sh. The library reports contract version 30, but the committed Swift expected 29, so the extension hitfatalError("UniFFI contract version mismatch")on its first Rust call. The public Swift API is unchanged.iosjob regenerates the bindings and fails on any diff. This is the second stale-bindings break (also 114c345, a doc-comment edit).bindgen.shnow passes--no-format, so its output doesn't depend on the local Xcode.dependabot.yml:extension/is now covered (monthly, one PR).Not in here
masterand should be closed.Testing
bindgen.shand checked: contract version 30, new checksums, same public API.rowel-autofillbuilds with--locked.Decisions