Stream: wasi

Topic: Debugging wasi-test in CLion


view this post on Zulip Emiliano Lesende (May 25 2020 at 22:33):

So, I have my environment setup for Rust development in CLion. The test run fine on command line, although it seems it requires nightly for them to run (one of the dependencies staticvec uses nightly features). Now, I am puzzled as to how to setup my CLion to execute the tests. Basically I am trying to debug my implementation of WASI. Is anyone using an IDE for development?

view this post on Zulip Emiliano Lesende (May 26 2020 at 02:07):

I ended figuring it out. If anybody is interested, you can add a custom Cargo command as an execution target that you can launch in debug mode.

The command that you need to execute is the following:
test --features test_programs --test wasm_tests

Remember to set your channel to nightly.


Last updated: Dec 23 2024 at 13:07 UTC