Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions files/en-us/webassembly/guides/c_to_wasm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ sidebar: webassemblysidebar

When you've written a new code module in a language like C/C++, you can compile it into WebAssembly using a tool like [Emscripten](https://emscripten.org/). Let's look at how it works.

> [!NOTE]
> This guide uses Emscripten, which is the most full-featured toolchain: it emulates a C standard library, a file system, and other operating-system features that C programs commonly expect. If your code doesn't need that runtime support, you can also compile C directly to WebAssembly with a lower-level toolchain such as [Clang/LLVM](https://surma.dev/things/c-to-webassembly/) or the [WASI SDK](https://github.com/WebAssembly/wasi-sdk), which produce smaller modules with fewer dependencies.

## Emscripten Environment Setup

First, let's set up the required development environment.
Expand Down