Skip to content

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Jan 11, 2026

Summary

  • Add runnable WASI CLI components for C and C++ using cpp_wasm_binary rule
  • hello_c_cli.wasm and hello_cpp_cli.wasm can be executed directly with wasmtime run
  • Bump version to 0.2.0
  • Update release notes to include new CLI components

Test plan

  • Built locally: bazel build //c:hello_c_cli //cpp:hello_cpp_cli
  • Tested with wasmtime:
    $ wasmtime run bazel-bin/c/hello_c_cli.wasm
    Hello wasm component world from C!
    
    $ wasmtime run bazel-bin/cpp/hello_cpp_cli.wasm
    Hello wasm component world from C++!
    
  • CI passes

Notes

This completes the hello world examples - we now have runnable CLI components in all three languages (C, C++, Rust), plus library components that export interfaces for composition.

Add runnable WASI CLI components for C and C++ using cpp_wasm_binary rule:
- c/src/main.c -> hello_c_cli.wasm
- cpp/src/main.cpp -> hello_cpp_cli.wasm

These can be executed directly with `wasmtime run`, unlike the existing
library components (hello_c_debug/release, hello_cpp_debug/release) which
export interfaces for composition.

Also bumps version to 0.2.0 and updates release notes.
@avrabe avrabe merged commit 34c29bd into main Jan 12, 2026
3 checks passed
@avrabe avrabe deleted the feat/add-c-cpp-cli-hello-world branch January 12, 2026 05:58
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.

2 participants