-
Notifications
You must be signed in to change notification settings - Fork 201
Support for no-std #314
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
Comments
Instead of Vec we could use the crate 'smallvec' for no_std. |
|
I haven't looked at no_std at all yet. |
Ok it seems like dynamic function loading is not trivial on no_std. |
Dynamic function loading is intrinsic to Vulkan, minimal entry points aside. |
Which "embedded devices" do you want to run vulkan on? |
Dont have anything explicit in mind but I think it would be some device with an RTOS or with a statically linked vulkan driver. |
Also, |
I do have some interest in this, there are few things I can think of to make moving towards being no_std capable (probably with alloc given we need dynamic function loading):
I imagine there is more than those two things involved with no_std support. |
Loading functions does not require alloc. |
Well I guess I am mistaken there. I could make some pull requests to do some of the type import stuff for core and alloc if desired |
To help with this, I am implementing the following clippy lint: rust-lang/rust-clippy#9103 The lint should help us ensure we don't forget any types that could be specified in core or alloc instead. |
Assuming all goes well for 1.64, CStr and CString will be accessible inside of The new clippy lints are also stabilized in 1.64 |
Can this crate be changed in a way that it supports no-std(as Vulkan explicitly supports embedded devices) or does it depend on std exclusive stuff?
The text was updated successfully, but these errors were encountered: