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

Update wgpu-hal to 0.16.1 to fix mobile Safari #2296

Merged
merged 4 commits into from
Jun 1, 2023
Merged

Conversation

emilk
Copy link
Member

@emilk emilk commented Jun 1, 2023

The release contains gfx-rs/wgpu#3780

Closes #2032

Checklist

PR Build Summary: https://build.rerun.io/pr/2296

Docs preview: https://rerun.io/preview/9ebf96a/docs

@emilk emilk added 🪳 bug Something isn't working 🕸️ web regarding running the viewer in a browser 🔺 re_renderer affects re_renderer itself dependencies concerning crates, pip packages etc labels Jun 1, 2023
@Wumpf Wumpf self-requested a review June 1, 2023 07:44
Copy link
Member

@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.

👍

Comment on lines +123 to +127
anyhow::bail!(
"Failed to run wasm-bindgen: {err}. This is often because some dependency is calling `std::time::Instant::now()` or similar. You can try diagnosing this with:\n\
wasm2wat {target_wasm_path} | rg '\"env\"'\n\
wasm2wat {target_wasm_path} | rg 'call .now\\b' -B 20"
);
Copy link
Member

Choose a reason for hiding this comment

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

very nice, didn't know about wasm2wat (I use a VSCode plugin for that sort of thing so far)

Copy link
Member Author

Choose a reason for hiding this comment

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

What plugin?

Copy link
Member

Choose a reason for hiding this comment

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

"the" webassembly extension can convert wasm files https://marketplace.visualstudio.com/items?itemName=dtsvet.vscode-wasm

@emilk emilk merged commit 91d8b96 into main Jun 1, 2023
@emilk emilk deleted the emilk/update-wgpu-hal branch June 1, 2023 08:15
emilk added a commit that referenced this pull request Jun 15, 2023
The release contains gfx-rs/wgpu#3780

Closes #2032

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2296

<!-- pr-link-docs:start -->
Docs preview: https://rerun.io/preview/9ebf96a/docs
<!-- pr-link-docs:end -->
This was referenced Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working dependencies concerning crates, pip packages etc 🔺 re_renderer affects re_renderer itself 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rerun broken on Emil's iOS Safari and Chrome Android
2 participants