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

Add opt-out fragile-send-sync-non-atomic-wasm feature for wgpu #5098

Merged
merged 9 commits into from
Sep 13, 2024

Conversation

9SMTM6
Copy link
Contributor

@9SMTM6 9SMTM6 commented Sep 11, 2024

Note this will break people depending on eframe or egui-wgpu with --no-default-features.
I don't know what to do about that to be honest.

@9SMTM6 9SMTM6 requested a review from Wumpf as a code owner September 11, 2024 13:13
crates/egui-wgpu/Cargo.toml Outdated Show resolved Hide resolved
crates/egui-wgpu/src/renderer.rs Outdated Show resolved Hide resolved
crates/egui-wgpu/src/renderer.rs Outdated Show resolved Hide resolved
crates/egui-wgpu/src/lib.rs Outdated Show resolved Hide resolved
crates/egui-wgpu/Cargo.toml Outdated Show resolved Hide resolved
.github/workflows/rust.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

good to go after ci version pin

.github/workflows/rust.yml Outdated Show resolved Hide resolved
crates/egui-wgpu/Cargo.toml Outdated Show resolved Hide resolved
@emilk emilk changed the title Add default feature flag to egui-wgpu, to have the ability to use atomics on wasm with egui and wgpu. Add opt-out fragile-send-sync-non-atomic-wasm feature for wgpu Sep 12, 2024
@9SMTM6
Copy link
Contributor Author

9SMTM6 commented Sep 12, 2024

@Wumpf done. Thanks for catching the somewhat embarrassing oversight in the actual source code ;-P.

@Wumpf Wumpf merged commit 08f5eb3 into emilk:master Sep 13, 2024
21 checks passed
@9SMTM6
Copy link
Contributor Author

9SMTM6 commented Sep 13, 2024

Thanks for taking the time @Wumpf!

@9SMTM6
Copy link
Contributor Author

9SMTM6 commented Sep 27, 2024

@emilk this was in the release yesterday, was it not? Just asking because I would like to remove my patch to the master branch, this is a bit annoying. When I checked the changelog it wasn't mentioned, but when I look at the respective git tag it seems to be present.

@Wumpf
Copy link
Collaborator

Wumpf commented Sep 27, 2024

it's part of the release 👍
I'll add it to the notes

@emilk
Copy link
Owner

emilk commented Sep 27, 2024

hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…lk#5098)

Note this will break people depending on eframe or egui-wgpu with
--no-default-features.
I don't know what to do about that to be honest.

* Closes emilk#4914 
* [x] I have followed the instructions in the PR template

---------

Co-authored-by: Andreas Reich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow usage with atomics as well as wgpu on wasm32
3 participants