VZout / ultralight

Opinionated Rust bindings for Ultralight
https://crates.io/crates/ultralight
Other
11 stars 2 forks source link

Mac m1 build errors #3

Open rocinant3 opened 12 months ago

rocinant3 commented 12 months ago

ld: symbol(s) not found for architecture arm64

How to fix this? I am already try other build targets, but without success

Edit: pure ultralight works fine on m1 with this hack: https://github.com/ultralight-ux/Ultralight/issues/370#issuecomment-1610510428. But needs bindings for rust)

VZout commented 12 months ago

Ah it seems like I would need to point the submodule for the api headers to a fork with that fix you linked. It might just "work" then on macos.

But please note this lib is still super work in progress and its something i created for fun in my free time so might not have time to fix this any time soon. Feel free to make a pull request tho!

Also side note: I'm planning to remove the "app" part of ultralight. and instead only allow people to implement ultralight into a existing/custom app. If you wanted to rely on the ultralight app implementation this might not be the right crate for you at this point. (maybe i can add the app/client part back in the far future but...)

rocinant3 commented 12 months ago

Thanks for the answer, it's definitely useful work. I see a lot of potential in using this module for server side HTML+JS rendering