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

Pass --no-sanitize-env to cargo-lipo #2143

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented Apr 4, 2024

Replaces #2142
Fixes #2104

link2xt added 2 commits April 4, 2024 16:42
Otherwise it clears IPHONEOS_DEPLOYMENT_TARGET variable
and core gets built for wrong iOS version instead of 12.0.
@r10s
Copy link
Member

r10s commented Apr 4, 2024

the PR works for me on core v1.136.6 (yeah, makes sense to get the script out of Xcode :), will try the commit that reproduces the warnings in #2104 now

Copy link
Member

@r10s r10s left a comment

Choose a reason for hiding this comment

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

yeah, works like a charm, i could build https://github.com/deltachat/deltachat-core-rust/tree/0be8b5a5c44ab8b4c3f48c4746de8cf947389a6a from #2104 with zero warnings (tried simulator)

great job, thanks A LOT for figuring that out!

@r10s
Copy link
Member

r10s commented Apr 4, 2024

when trying to build core main-branch, however, i get another error (not warning), this is probably independent from #2104 and this PR, will double check and file a new issue as needed

@link2xt link2xt merged commit 1f8cb9c into main Apr 4, 2024
@link2xt link2xt deleted the link2xt/build-core-script branch April 4, 2024 15:57
@link2xt
Copy link
Contributor Author

link2xt commented Apr 4, 2024

I also got some problems with main core, maybe related to image update.

@r10s
Copy link
Member

r10s commented Apr 4, 2024

i filed an issue for the new error at #2144

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.

hundreds of warnings when linking core main branch
2 participants