Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

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 
 
PREVIOUS NEXT
Tagged: #rust #run #tests #cargo
ADD COMMENT
Topic
Name
5+6 =