-
Notifications
You must be signed in to change notification settings - Fork 176
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
aarch64 OBJC_OLD_DISPATCH_PROTOTYPES=1 ignored #292
Comments
me too |
|
For anyone else: crates.rs 0.7.3 version does not have this patch https://crates.io/crates/web-view Instead do this in Cargo.toml:
If somebody wanted to kick off a 0.7.4 release if there was time with that latest Mac ARM64 patch... thank you very much for doing it! awesome package nevertheless! |
Hey @brandonros - seems like you're visiting a project that has mostly stalled. Over at tauri, we used this lib for a while, but then moved to the webview project, and finally decided to just bite the bullet and write our own full bindings in rust. Please consider https://github.com/tauri-apps/wry to be the "spiritual successor" if not exactly the replacement for this repository here. And the framework that consumes wry is called tauri, and comes with a bunch of APIs and a bundler and a whole system to get your project moving really quickly. |
Hi, I'm trying to build a hello world level app using web-view. Builds perfectly on amd64 Linux. On the aarch64 apple m1, I'm running into issues even building.
I did some digging into
OBJC_OLD_DISPATCH_PROTOTYPES=1
andbuild.rs
and see you're already using the right flag to activate the old prototype that took three args. I'm confused why this is happening and wondering if this is an aarch64-specific issue? I tried settingCFLAGS_arch64_apple_darwin
to-DOBJC_OLD_DISPATCH_PROTOTYPES=1
but this probably had no effect since you do this already inbuild.rs
. I did-ferror-limit=0
for kicks and got to about 120 errors, so I'm clearly busted. I also tried setting-framework WebKit
just to see if there was something around that. Also nothing.If you have any suggestions on a fix, or if you know this is just my environment, I'd appreciate the info.
Build error below:
The text was updated successfully, but these errors were encountered: