Coder Social home page Coder Social logo

Comments (6)

hydai avatar hydai commented on June 27, 2024

@q82419 Please check if our previous bugfix is making this issue disappear.

from wasmedge.

PinappleUnderTheSea avatar PinappleUnderTheSea commented on June 27, 2024

@q82419 Please check if our previous bugfix is making this issue disappear.

Commits after 8be2282 did not mention these files or cases

from wasmedge.

q82419 avatar q82419 commented on June 27, 2024

Hi @PinappleUnderTheSea ,

I tested on the latest master and it works well.

# At the path of WasmEdge
$ WASMEDGE_PLUGIN_PATH=build/examples/plugin/get-string/  ./build/tools/wasmedge/wasmedge --string="HELLO_WORLD" test.wasm
HELLO_WORLD

Please check again. Thanks!

from wasmedge.

PinappleUnderTheSea avatar PinappleUnderTheSea commented on June 27, 2024

Hi @PinappleUnderTheSea ,

I tested on the latest master and it works well.

# At the path of WasmEdge
$ WASMEDGE_PLUGIN_PATH=build/examples/plugin/get-string/  ./build/tools/wasmedge/wasmedge --string="HELLO_WORLD" test.wasm
HELLO_WORLD

Please check again. Thanks!

sorry to trouble, I do not know WasmEdge well. I tried:

 ./build/tools/wasmedge/wasmedge --string="HELLO_WORLD" test.wasm

but the terminal shows:

unknown option: string

Is there something I ignored?

from wasmedge.

q82419 avatar q82419 commented on June 27, 2024

Maybe you didn't build from master, or didn't assign the correct plug-in path.
The option is for the plug-in, the example get-string plug-in registered the option string, so that when loading the plug-in, this option can be accepted by the CLI.

from wasmedge.

PinappleUnderTheSea avatar PinappleUnderTheSea commented on June 27, 2024
WASMEDGE_PLUGIN_PATH=build/examples/plugin/get-string/  ./build/tools/wasmedge/wasmedge --string="HELLO_WORLD" test.wasm

It works!!! Thanks a lot.

from wasmedge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.