1
0
hugo/content/blog/2024-10-12-wasmer.md
2024-12-21 23:10:54 +09:00

30 lines
479 B
Markdown

+++
date = "2024-10-12"
tags = ["wasm"]
title = "wasmでwasmer-shを動かしてみる"
+++
https://docs.wasmer.io/install
```sh
$ wasmer run wasmer/wasmer-sh -- --port 4480 --host 127.0.0.1
```
```sh
$ wasmer login
$ wasmer deploy
wasmer/wasmer-sh
# custom domain
https://docs.wasmer.io/edge/configuration/custom-domains
```
https://wterm-syui.wasmer.app/
```sh
# https://wterm-syui.wasmer.app/
$ wasmer run clang/clang example.c -o example.wasm
$ ls
$ ./example.wasm
```