Skip to content

Fix BufferMapRange not being Send/Sync (on native)#4818

Merged
Wumpf merged 6 commits intogfx-rs:trunkfrom
rerun-io:mapped-range-trait-send-sync
Dec 9, 2023
Merged

Fix BufferMapRange not being Send/Sync (on native)#4818
Wumpf merged 6 commits intogfx-rs:trunkfrom
rerun-io:mapped-range-trait-send-sync

Conversation

@Wumpf
Copy link
Copy Markdown
Member

@Wumpf Wumpf commented Dec 3, 2023

Connections

Fixes

Description

Fixes BufferMappedRange trait not exposing Send/Sync of the underlying impl, i.e it wasn't WasmNotSendSync.

Testing
It compiles!

Checklist

  • Run cargo fmt.
  • 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.

@Wumpf Wumpf added the area: api Issues related to API surface label Dec 3, 2023
@Wumpf Wumpf requested a review from a team as a code owner December 3, 2023 17:33
@nical
Copy link
Copy Markdown
Contributor

nical commented Dec 4, 2023

Ah it looks like this requires some more fiddling: https://github.com/gfx-rs/wgpu/actions/runs/7078382332/job/19263794161?pr=4818#step:8:492

@Wumpf
Copy link
Copy Markdown
Member Author

Wumpf commented Dec 4, 2023

ah missed that! Won't get to it very soon, but will look into it!

@Wumpf Wumpf enabled auto-merge (squash) December 9, 2023 11:16
@Wumpf Wumpf merged commit d801c61 into gfx-rs:trunk Dec 9, 2023
Wumpf added a commit to rerun-io/rerun that referenced this pull request Feb 19, 2024
…er (#5225)

### What

* This got fixed in gfx-rs/wgpu#4818

### 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)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5225/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5225/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5225/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!

- [PR Build Summary](https://build.rerun.io/pr/5225)
- [Docs
preview](https://rerun.io/preview/db9b495d18aec9485ec24c85cf11506d58b0843d/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/db9b495d18aec9485ec24c85cf11506d58b0843d/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: api Issues related to API surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants