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

no_std compatibility. Macros output core and alloc, not std. #45

Closed
wants to merge 1 commit into from

Conversation

Grinkers
Copy link
Collaborator

https://github.com/edn-rs/pico-edn/blob/86df5d1155b0177af400fb54ceaab67407157d88/pico-edn/src/lib.rs#L28-L42
example here

I don't think there's an easy way to write tests for this, as test binaries require std. This crate itself still requires std, so building the crate doesn't actually do anything.

@evaporei any ideas/recommendations?

@Grinkers
Copy link
Collaborator Author

Actually this is a pain. You can't extern crate alloc; multiple times, so can't inject it into macros. I'll leave this as a draft for now.

@Grinkers
Copy link
Collaborator Author

naomijub/edn-rs#158

@Grinkers Grinkers closed this Jun 11, 2024
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