{ "folders": [ { "path": ".", } ], "build_systems": [ { "name": "Build Project", "cmd": [ "cargo", "build" ], "working_dir": "${folder}", "file_regex": "^\\s*(\\S+\\.[ch]):(\\d+):(\\d+):\\s*([^\\n]+)", "variants": [ { "name": "Clean", "cmd": [ "cargo", "clean" ], }, { "name": "Clippy", "cmd": [ "cargo", "clippy" ], }, { "name": "Run Example", "cmd": [ "cargo", "run", "--example", "example" ], }, { "name": "Generate Docs", "cmd": [ "cargo", "doc", "--all-features" ], }, { "name": "Tests with Coverage", "cmd": [ "cargo", "llvm-cov", "nextest", "--all-features", "--lcov", "--output-path", "lcov.info" ], }, { "name": "Tests", "cmd": [ "cargo", "nextest", "run", "--all-features", ], }, { "name": "Doctests", "cmd": [ "cargo", "test", "--doc", ], }, { "name": "Mutation Tests", "cmd": [ "cargo", "mutants", "--test-tool=nextest", "--", "--all-features", ], "file_regex": "^MISSED\\s+(\\S+):(\\d+):(\\d+):\\s*([^\\n]+)", }, { "name": "Mutation Tests Iteration", "cmd": [ "cargo", "mutants", "--test-tool=nextest", "--iterate", "--", "--all-features", ], "file_regex": "^MISSED\\s+(\\S+):(\\d+):(\\d+):\\s*([^\\n]+)", }, { "name": "Miri Tests", "shell_cmd": "PROPTEST_DISABLE_FAILURE_PERSISTENCE=true MIRIFLAGS='-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE -Zmiri-backtrace=full -Zmiri-tree-borrows' cargo miri nextest run -j 10", }, { "name": "Miri run Example", "shell_cmd": "MIRIFLAGS=\"-Zmiri-backtrace=full -Zmiri-tree-borrows\" cargo miri run --example example", }, ], }, ], "debugger_configurations": [ { "type": "lldb", "request": "launch", "name": "Debug Example", "program": "${folder}/target/debug/examples/example", "args": [], "cwd": "${folder}" }, ], }