Skip to content

ci-wasm: clang, for C sources built for wasm32 - #5

Merged
Kinflou merged 1 commit into
mainfrom
wasm-clang
Nov 11, 2026
Merged

Kinflou merged 1 commit into
mainfrom
wasm-clang

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 11, 2026

Copy link
Copy Markdown
Member

language-server's analysis lib - wasm32 job builds comline-core for wasm32. core pulls in tree-sitter (through rust-sitter-tool) and psm (through stacker), whose build scripts compile C for the target through cc. gcc cannot target wasm, so they need clang. The job passes today only because GitHub's Ubuntu VM ships clang preinstalled; in ci-wasm it would fail.

  • images/Dockerfile: clang in the wasm stage, from the same dated Debian snapshot.
  • images/smoke.sh: wasm mode runs clang --version and compiles a small C file with --target=wasm32-unknown-unknown.
  • images/versions.md: the ci-wasm row names clang and why.

@Kinflou
Kinflou marked this pull request as ready for review November 11, 2026 23:02
@Kinflou
Kinflou merged commit b2d2353 into main Nov 11, 2026
11 checks passed
@Kinflou
Kinflou deleted the wasm-clang branch November 11, 2026 23:02
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.

1 participant