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

Link against libc++ on OpenHarmony OS #33

Merged
merged 2 commits into from Mar 20, 2024
Merged

Conversation

jschwe
Copy link
Contributor

@jschwe jschwe commented Mar 20, 2024

OpenHarmony OS is built with clang and should link against libc++ and not libstdc++.

A better medium term solution would probably be to ditch cmake-rs and instead use cc-rs which would automatically
emit the correct rustc-link-lib line based on the compiler and certain environment variables.

OpenHarmony OS is built with clang and should link
against `libc++` and not `libstdc++`.

A better medium term solution would probably be to ditch
`cmake-rs` and instead use `cc-rs` which would automatically
emit the correct `rustc-link-lib` line based on the compiler
and certain environment variables.
@jschwe
Copy link
Contributor Author

jschwe commented Mar 20, 2024

@mrobinson Perhaps you could review this?

@mrobinson mrobinson added this pull request to the merge queue Mar 20, 2024
Merged via the queue into servo:main with commit b60a342 Mar 20, 2024
6 checks passed
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.

None yet

2 participants