Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Open
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ And finally similarly as Fedora (this requires a recentish clang)
# wget -O- https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/libclang_rt.builtins-wasm32-wasi-20.0.tar.gz | tar --strip-components=1 -xvzf - -C $(dirname $(clang -print-runtime-dir))
```

### FreeBSD

Install the following as normal

```
# pkg install gmake llvm13 rust wasi-compiler-rt13 wasi-libc
```

## Quickstart in Developing Rust WebAssembly Modules for Unit

1) Setup a suitable build environment as above.
Expand Down
2 changes: 1 addition & 1 deletion shared.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ PP_AR = @echo ' AR '
PP_CCLNK = @echo ' CCLNK '
PP_GEN = @echo ' GEN '

CC = clang
CC ?= clang
CFLAGS += -Wall -Wextra -Wdeclaration-after-statement -Wvla \
-Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition \
-Wimplicit-function-declaration -Wimplicit-int -Wint-conversion \
Expand Down