Commit 64be11c
committed
Correct reflow_rt_wasm README: wgpu does work on wasm
The original copy claimed wgpu native backends block wasm builds.
That's wrong — wgpu has a WebGPU backend that compiles to wasm32.
The actual blocker for GPU (and fetch, and websocket) actors on
wasm is structural: our #[actor(...)] macro bakes a `Send` bound
into the future type, and browser-only types are !Send because
they hold JS handles (*mut u8) under the hood. Same root cause as
the reqwest::AbortGuard issue noted in the previous commit.
Spell out the path forward so the constraint is visible.1 parent 8838f93 commit 64be11c
1 file changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
| |||
0 commit comments