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

Don't include default features of slab #206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

emil-e
Copy link

@emil-e emil-e commented Mar 5, 2025

slab includes the std feature by default which won't work for no_std projects. I can't really reproduce the problem by just building the project by itself but when pulling in futures-concurrency in my no_std/embassy project, I get errors such as:

cannot find type `Option` in this scope
not found in this scope   

Fix is simply to exclude default features from slab. Seems to work even when std features is enabled for futures-concurrency.

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