Skip to content

Drop PIXELY0006 and the writable Emscripten cache, now that XdlSharp links XDL's prebuilt emdawnwebgpu - #704

Merged
stanoddly merged 2 commits into
mainfrom
browser-no-writable-cache
Nov 10, 2026
Merged

stanoddly merged 2 commits into
mainfrom
browser-no-writable-cache

Conversation

@botoddly

@botoddly botoddly commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Closes #587.

Problem

Every browser build failed with PIXELY0006 unless the project set WasmCachePath to a writable copy of the wasm-tools workload's Emscripten cache. XdlSharp's browser package linked emdawnwebgpu through Emscripten's port, which compiles webgpu.cpp into the cache at link time, and the workload's cache is read-only.

Change

Tested locally

  • dotnet publish tutorials/Pixely.Tutorials.Browser -r browser-wasm -c Release with 3.4.20.2 from nuget.org and no WasmCachePath. The workload's Emscripten cache is unchanged afterwards.
  • tests/Pixely.Browser.Harness rendered the tutorial in Chromium on a hardware adapter, and the app exited with code 0.
  • A Debug relink with the same exports also succeeded without touching the cache.

Not run locally: the desktop test suites with the newer XDL runtime.

@stanoddly
stanoddly enabled auto-merge (squash) November 9, 2026 22:03
@stanoddly
stanoddly merged commit a5160a2 into main Nov 10, 2026
3 checks passed
@stanoddly
stanoddly deleted the browser-no-writable-cache branch November 10, 2026 07:48
@github-actions

Copy link
Copy Markdown

📦 Development package Pixely 0.0.162 is available.

Workflow run (attempt 1)

@github-actions

Copy link
Copy Markdown

✅ Development package validation passed on all platforms.

Workflow run (attempt 1)

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.

Browser: provide a writable Emscripten cache for PixelyBrowserWebGpu without project setup

2 participants