Skip to content

Don't include objc headers in exception.m#8

Open
madsmtm wants to merge 1 commit into
SSheldon:masterfrom
madsmtm:fix-cross-compile
Open

Don't include objc headers in exception.m#8
madsmtm wants to merge 1 commit into
SSheldon:masterfrom
madsmtm:fix-cross-compile

Conversation

@madsmtm

@madsmtm madsmtm commented Jun 1, 2021

Copy link
Copy Markdown

Fixes #6 on my machine. Can you verify this @fenhl?

And also, it's faster to call objc_retain directly instead of using a selector.

To fix cross compile issues (and also, it's faster to call objc_retain directly instead of using a selector)
@madsmtm madsmtm force-pushed the fix-cross-compile branch from 3d9ebc5 to a94f0dc Compare June 1, 2021 14:29
@fenhl

fenhl commented Jul 17, 2021

Copy link
Copy Markdown

Sorry, I can't verify because I don't remember which project I was trying to cross-compile.

@fenhl

fenhl commented Jul 17, 2021

Copy link
Copy Markdown

Oh, wait, the error was also happening when cross-compiling this crate on its own. I'll check if that works with this.

@fenhl

fenhl commented Jul 17, 2021

Copy link
Copy Markdown

Yes, that fixes the issue for me too.

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.

Fails to cross-compile for Apple Silicon

2 participants