WasmEdge / docs

https://wasmedge.org/docs/
Apache License 2.0
17 stars 57 forks source link

[DOCS] Missing command for building the plugin using C #199

Closed peter-jerry-ye closed 10 months ago

peter-jerry-ye commented 10 months ago

Description

Docs writes:

- **Build with Command**: if you choose to build the plug-in using the command line, run the following command in the terminal:

  This command compiles the `testplugin.c` file into a shared library named `libwasmedgePluginTest.so`. The `-std=c11` flag sets the C language standard to C11, and the `-DWASMEDGE_PLUGIN` flag defines the WASMEDGE_PLUGIN macro, which can be used in your code.

So, what is the "following command"?

Screenshots

No response

Additional information

No response

alabulei1 commented 10 months ago

Hi @peter-jerry-ye,

Sorry for missing the command line. @mhmohona has created a PR to fix it. Please take a look again, Thanks.