Skip to content

lib/macro/internal: Only use alloc instead of std #48

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
May 27, 2021
Merged

lib/macro/internal: Only use alloc instead of std #48

merged 1 commit into from
May 27, 2021

Conversation

ia0
Copy link
Owner

@ia0 ia0 commented May 27, 2021

Fix #47

The problem was that for stable compilers older than 1.51, we used to support no-std alloc environments, but not no-alloc environments. This was accidentally rolled-back in 76e21dd. For compilers 1.51 and later, we additionally support no-alloc environments using resolver = "2" in Cargo.toml of the end binary.

Fix #47. The problem is that for stable compilers older than 1.51, we used to
support no-std alloc environments, but not no-alloc environments. For compilers
1.51 and later, we additionally support no-alloc environments using resolver =
"2" in Cargo.toml of the end binary.
@ia0 ia0 merged commit 2f4d548 into master May 27, 2021
@ia0 ia0 deleted the fix_47 branch May 27, 2021 21:08
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.

feature std leaking when using macro in no_std env
1 participant