Skip to content

Add no_std support #3

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

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Add no_std support #3

merged 1 commit into from
Oct 13, 2023

Conversation

EHfive
Copy link
Contributor

@EHfive EHfive commented Sep 19, 2023

The library didn't use any std so just add #![no_std] attribute to force no_std.

Also fixed the test cases.

This is needed to preserve no_std capability of rustybuzz which is currently using unicode-properties, harfbuzz/rustybuzz#71.

The library didn't use any std so just add #![no_std] attribute to allow no_std.
@EHfive EHfive changed the title Mark crate as no_std Add no_std support Oct 13, 2023
@EHfive
Copy link
Contributor Author

EHfive commented Oct 13, 2023

ping @crlf0710 @Manishearth

@Manishearth Manishearth merged commit 25c92fb into unicode-rs:master Oct 13, 2023
@EHfive EHfive deleted the mark_no_std branch October 13, 2023 19:54
@CryZe
Copy link

CryZe commented Oct 20, 2023

Can we have a release with this? The newly released cosmic-text 0.10.0 accidentally broke no_std compatibility. pop-os/cosmic-text#197

@CryZe
Copy link

CryZe commented Jan 18, 2024

This still needs a release. cosmic-text is still broken because of this.

@Manishearth
Copy link
Member

Done!

@jackpot51
Copy link

Thanks!

@CryZe
Copy link

CryZe commented Jan 18, 2024

Thank you, everything compiles now :)

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.

4 participants