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

fix compilation on wasm32-unknown-unknown without webgl feature #2355

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

jakobhellermann
Copy link
Contributor

Description
When compiling for the target wasm32-unknown-unknown without the webgl feature enabled, the code had some errors.

Testing
The code compiles again.

Open questions
The back::wgsl::write_string now accepts WriterFlags which contain the EXPLICIT_TYPES option. Should it be enabled?

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoa, this isn't checked on CI at the moment?

@kvark kvark enabled auto-merge (squash) January 4, 2022 16:01
@kvark kvark merged commit bec6ec6 into gfx-rs:master Jan 4, 2022
@jakobhellermann jakobhellermann deleted the fix-wasm-compile branch January 4, 2022 16:15
@cwfitzgerald cwfitzgerald added the PR: needs back-porting PR with a fix that needs to land on crates label Jan 13, 2022
@kvark kvark mentioned this pull request Jan 21, 2022
@kvark kvark removed the PR: needs back-porting PR with a fix that needs to land on crates label Jan 21, 2022
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.

3 participants