Skip to content

Update bindgen to 0.72#150

Merged
lirenjie95 merged 1 commit into
ihciah:masterfrom
alladin-IT:fix-aarch64-apple-ios-sim-target
Mar 14, 2026
Merged

Update bindgen to 0.72#150
lirenjie95 merged 1 commit into
ihciah:masterfrom
alladin-IT:fix-aarch64-apple-ios-sim-target

Conversation

@bpucher
Copy link
Copy Markdown
Contributor

@bpucher bpucher commented Mar 13, 2026

Building for the aarch64-apple-ios-sim target does not work using bindgen version 0.71. Clang has renamed the sim part of the target triple to simulator and shows the following compiler error:

error: version 'sim' in target triple 'arm64-apple-ios-sim' is invalid

Bindgen version 0.72 fixes this issue with commit rust-lang/rust-bindgen@e5480dd.

This pull request updates bindgen to 0.72 in rust2go/Cargo.toml.

Fixes #151

bindgen 0.71 fails to run for the aarch64-apple-ios-sim target because
the triple has been renamed to ...-simulator in clang. This is
fixed by the commit
rust-lang/rust-bindgen@e5480dd
released with bindgen 0.72.
@bpucher bpucher force-pushed the fix-aarch64-apple-ios-sim-target branch from 673164e to f60ea92 Compare March 13, 2026 21:42
Copy link
Copy Markdown
Collaborator

@lirenjie95 lirenjie95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for the contribution!

@lirenjie95 lirenjie95 merged commit 6f06b06 into ihciah:master Mar 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Building for aarch64-apple-ios-sim fails using the current bindgen version

2 participants