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

Mark libmimalloc_sys as no_std to support no_std users. #69

Merged
merged 1 commit into from
Jun 18, 2021
Merged

Mark libmimalloc_sys as no_std to support no_std users. #69

merged 1 commit into from
Jun 18, 2021

Conversation

monoclex
Copy link
Contributor

The mimalloc_ruust library is marked as #![no_std], yet libmimalloc-sys is not marked as #![no_std] so no_std users of mimalloc_rust will pull in the std library as a result. This seems like a small oversight.

My specific use-case for this change is because I wish to create a library that does not link to std for a smaller size, but that still requires allocations.

I did not thoroughly check if this will adversely affect other end users, I'm hoping CI/CD will catch these.

@octavonce octavonce merged commit 00de98b into purpleprotocol:master Jun 18, 2021
@monoclex monoclex deleted the patch-1 branch July 22, 2021 19:25
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