Function cargo_test_support::main_file

source ยท
pub fn main_file(println: &str, externed_deps: &[&str]) -> String
Expand description

Generate a main.rs printing the specified text

main_file(
    r#""hello {}", dep::bar()"#,
    &[]
);