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 28 commits into
base: trunk
Choose a base branch
from

Conversation

brody4hire
Copy link
Contributor

@brody4hire brody4hire commented Jan 17, 2025

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

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.

Sorry, something went wrong.

…pport-in-naga
Merge branch 'trunk' of https://github.com/gfx-rs/wgpu into no-std-support-in-naga

UPDATE wgpu-hal/src/vulkan/device.rs - import from hashbrown

UPDATE naga/src/lib.rs - comment out import hack no longer needed to avoid Clippy warning

add & update multiple XXX TODO items in this update
…VE IN SEPARATE PR
…pport-in-naga
@bushrat011899 bushrat011899 mentioned this pull request Feb 28, 2025
6 tasks
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.

None yet

1 participant