30 lines
479 B
Markdown
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
|
|
```
|