Skip to content
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

write/macho: ensure padding matches for section file offset and address #553

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Jun 4, 2023

Fixes #552
cc @bjorn3

@bjorn3
Copy link
Contributor

bjorn3 commented Jun 4, 2023

Thanks! I can confirm that this fixes the issue. Would you mind backporting this to object 0.30? Otherwise I will be stuck with broken CI for cg_clif for the next couple of weeks until a new Cranelift release depending on object 0.31 gets released.

@philipc philipc merged commit 60c9721 into gimli-rs:master Jun 5, 2023
@philipc philipc deleted the issue-552 branch June 5, 2023 06:46
philipc added a commit to philipc/object that referenced this pull request Jun 5, 2023
poliorcetics pushed a commit to JustRustThings/object that referenced this pull request Jul 24, 2023
sampsyo added a commit to sampsyo/bril that referenced this pull request Oct 7, 2023
Brilift AOT didn't previously support macOS-on-ARM because
`cranelift-object` didn't, which in turn is because the `object` crate
was missing some relevant features. It seems like that support has been
added, possibly in this PR but I'm not sure:
gimli-rs/object#553

Anyway, stuff seems to be working on ARM now, which is cool. Now we can
remove the hacks to insist on Rosetta2 when on Apple Silicon.
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
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.

Panic while writing Mach-O file
2 participants