Skip to content

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