Skip to content

Set AR environment variable based on return from CC #124

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

roblabla
Copy link

cc-rs supports setting an AR program per-target using AR_<target_name>. This is currently not respected by jemalloc's custom build script, causing issues when a specific version of AR is necessary for cross-compilation.

cc-rs offers some variables to set the archiver program (commonly ar)
that should be used for a given target. This is commonly used in
cross-compilation situations, to use a version of AR compatible with the
target linker.

Signed-off-by: roblabla <[email protected]>
@BusyJay
Copy link
Member

BusyJay commented Jun 4, 2025

Hi, can you resolve the conflicts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants