# Build plugin
cd sample-plugin
cargo build --release --target wasm32-wasi
mv target/wasm32-wasi/release/sample_plugin.wasm ../plugin.wasm
# Run app (load plugin.wasm and call `greet` function)
cargo run
# >>> Hello, WebAssembly!
- extism-plugin-system-example:
- sample-pluginを読み込んで、plugin内で定義されてる
greet
関数を呼び出すアプリ。
- sample-pluginを読み込んで、plugin内で定義されてる
- plugin-system:
greet
関数を呼び出すラッパー
- sample-plugin:
greet
関数を定義しているプラグイン