Skip to content
Merged
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
12 changes: 11 additions & 1 deletion lib/vector-vrl/web-playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,17 @@ with this [issue filter][vrl-wasm-unsupported-filter].

### macOS Troubleshooting

If you are getting compilation errors on macOS here are some things to check:
If compilation fails because the selected C compiler does not support the
`wasm32-unknown-unknown` target, try a compiler with WebAssembly support, such
as Homebrew LLVM. The following command explicitly selects that toolchain.

```shell
CC_wasm32_unknown_unknown="$(brew --prefix llvm)/bin/clang" \
AR_wasm32_unknown_unknown="$(brew --prefix llvm)/bin/llvm-ar" \
wasm-pack build --target web --out-dir public/pkg
```

If you are getting other compilation errors on macOS here are some things to check:

```shell
xcode-select -p
Expand Down
1 change: 1 addition & 0 deletions lib/vector-vrl/web-playground/public/LICENSE
Loading