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

unconditional dependency on alloc is a problem in no_std/no_alloc #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Crzyrndm
Copy link
Contributor

@Crzyrndm Crzyrndm commented Dec 21, 2022

alloc is only required for tests(?) so just make no_std conditional on tests|"std" instead

The CI no_std check failed to catch this because you're not building an executable (dependencies are not being checked). Minimal executable has been added and CI now builds that

depends on #5 to fix the clippy lints.

alloc is only required for tests so just make no_std conditional on tests|"std" instead
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.

1 participant