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

feat: allow custom arguments for clang #615

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

richerfu
Copy link
Contributor

For openharmony, we use /path/to/ndk/clang to build project, but it doesn't include basic arguments.

For example, for aarch64-unknown-linux-ohos we need to add -target aarch64-linux-ohos --sysroot=${OHOS_NDK_HOME}/native/sysroot -D__MUSL__ based with rust-book.

When we compile the corresponding modules on mac/win, the lack of these arguments will cause the build to fail, so we need add those arguments to Index.

@twistedfall twistedfall merged commit 180aec9 into twistedfall:master Sep 12, 2024
15 checks passed
@twistedfall
Copy link
Owner

This is now released in 0.93.0

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.

2 participants