-
Notifications
You must be signed in to change notification settings - Fork 177
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
Rhai no_std
appears to rely on once_cell/alloc
but does not request it
#869
Comments
From the commit history it looks like this might be a known bug; might be worth adding something to the README that the packaged versions require this workaround, lest it trip up more people. Feel free to close if you feel it's fixed. |
Hhhmmm... that's strange, as the example under |
@cbiffle do you have more info on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Playing with Rhai on
no_std
over here (on an actual platform that doesn't providestd
).Currently, 1.18.0 won't build on a platform that doesn't provide
std
, because it appears to be relying on theonce_cell
crate having thealloc
feature set (to getonce_cell::race::OnceBox
), but isn't setting that feature itself -- at least when depended on asAdding a redundant dep to
once_cell
and setting thealloc
feature in my build causes it to start working:The text was updated successfully, but these errors were encountered: