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

Remove emscripten crate features #3467

Merged
merged 3 commits into from
Feb 15, 2023
Merged

Conversation

daxpedda
Copy link
Contributor

@daxpedda daxpedda commented Feb 10, 2023

This removes the emscripten crate feature from all crates and replaces necessary guards with target_os = "emscripten".
wgpu will activate wgpu-hal/gles by default for the emscripten target and guards that were in place for feature = "webgl" for Emscripten were adjusted.

Requires careful review, it was a lot of search & replace and copy & paste.

See #3466.

teoxoy
teoxoy previously requested changes Feb 14, 2023
Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

Looks like a nice improvement, should reduce misuse.
We should add a changelog entry for this.

wgpu/src/backend/web.rs Outdated Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
wgpu/tests/common/mod.rs Show resolved Hide resolved
wgpu/src/backend/direct.rs Outdated Show resolved Hide resolved
wgpu/src/backend/direct.rs Outdated Show resolved Hide resolved
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Party party

@cwfitzgerald cwfitzgerald dismissed teoxoy’s stale review February 15, 2023 21:38

All comments addressed

@cwfitzgerald cwfitzgerald enabled auto-merge (squash) February 15, 2023 21:38
@cwfitzgerald cwfitzgerald merged commit e444520 into gfx-rs:master Feb 15, 2023
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