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?
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: Nov 22 2024 at 16:03 UTC