Skip to content

Move WASM build orchestration into Rust - #84

Merged
zackees merged 1 commit into
mainfrom
feat/aggressive-rust-build-backend
May 14, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/aggressive-rust-build-backend

Conversation

@zackees

@zackees zackees commented May 14, 2026

Copy link
Copy Markdown
Member

Summary

  • Move WASM compile orchestration out of embedded Python into crates/fastled-cli/src/wasm_build.rs.
  • Link ctcb-core for host platform/arch resolution and remove the Python clang-tool-chain package dependency.
  • Reduce Python build/toolchain modules to compatibility facades over fastled._native.NativeBuildService.
  • Delete the Python internal WASM builder, its cache tests, and stale native launcher sources.
  • Keep install/site wrappers on native Rust CLI/project-init helpers instead of PATH fastled subprocesses.

Refs #72

Parallel work

  • Python compatibility cleanup was implemented by a worker agent in the same worktree.
  • A read-only audit agent checked for leftover Python build owners and stale references before final cleanup.

Test plan

  • bash lint
  • bash test
  • soldr cargo test -p fastled-cli -p fastled-py -- --nocapture
  • uv run pyright src/fastled/toolchain/emscripten.py tests/unit/test_emscripten_platform_neutral.py tests/unit/test_post_migration.py
  • Focused pytest checks for build service, Emscripten compatibility, nested sketch paths, and migration guardrails

Note: This intentionally does not close #72. The issue should stay open until the remaining Python compatibility layer has been manually verified as maximally removed.

@zackees
zackees merged commit 19e87ef into main May 14, 2026
19 of 25 checks passed
@zackees
zackees deleted the feat/aggressive-rust-build-backend branch November 5, 2026 05:51
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.

Port the remaining Python app orchestration layer to Rust

1 participant