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 support in naga #6940

Draft
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

brody4hire
Copy link
Contributor

Connections

issue(s):

recommended pre-requisite(s):

blocking other proposal(s):

Description

I think this should be the beginning of adding no-std support to the wgpu crates.

This proposal enables build & usage of naga with no_std. New "std" option is added & enabled by default.

All existing options require "std" feature to build. TODO item is to support as many features as possible with no-std. I may want to defer these updates to a future PR.

There are quite a few loose ends, mostly marked by XXX todo comments, I hope to make some progress resolving these over the weekend.

/cc @bushrat011899

Testing

  • cargo test --no-default-features -p naga
  • cargo test --all-features -p naga
  • cargo xtask test

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.
  • Resolve any possible issues in CI.
  • Resolve or defer remaining XXX todo items in these updates.

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