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

Make tests pass on no_std #123

Closed
wants to merge 1 commit into from
Closed

Make tests pass on no_std #123

wants to merge 1 commit into from

Conversation

laralove143
Copy link
Contributor

Tests didn't pass with cargo test --no-default-features because tests using format! weren't exempt from no_std, this PR adds cfg(feature = "std") where required, and changes uses of format! to to_string where possible (also adding alloc crate for the tests)

@djc
Copy link
Member

djc commented Dec 28, 2022

Thanks! Could you add a CI job to make sure we don't regress this?

@laralove143 laralove143 closed this by deleting the head repository Jan 28, 2023
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