Skip to content

ohos: Link shared lib on OpenHarmony#221

Merged
Byron merged 1 commit intorust-lang:mainfrom
jschwe:ohos_shared_lib
Oct 3, 2024
Merged

ohos: Link shared lib on OpenHarmony#221
Byron merged 1 commit intorust-lang:mainfrom
jschwe:ohos_shared_lib

Conversation

@jschwe
Copy link
Copy Markdown
Contributor

@jschwe jschwe commented Oct 2, 2024

The OpenHarmony SDK / sysroot contains libz.so and similar to android we can assume that libz will always be available,
since the OpenHarmony zlib documentation exists and explicitly mentions linking against libz.so.

OpenHarmony is supported as a tier 2 target in rustc as *-linux-ohos

@jschwe jschwe changed the title ohos: Linked shared lib on OpenHarmony ohos: Link shared lib on OpenHarmony Oct 2, 2024
Copy link
Copy Markdown
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the fix!

Once the requested change is made, I will merge.

Thank you.

Comment thread build.rs Outdated
The OpenHarmony SDK / sysroot contains libz.so
and similar to android we can assume that libz
will always be available.
@Byron Byron merged commit 5488e3c into rust-lang:main Oct 3, 2024
@jschwe jschwe deleted the ohos_shared_lib branch October 3, 2024 07:12
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