Answers for "rust run tests without cargo"

0

rust run tests without cargo

// this will only compile the test cases in the main source..
// to run main source, you'll have to recompile main without --test flag

rustc --test source.rs
Posted by: Guest on January-02-2022

Browse Popular Code Answers by Language