cargo::ops::cargo_compile

Function print

Source
pub fn print<'a>(
    ws: &Workspace<'a>,
    options: &CompileOptions,
    print_opt_value: &str,
) -> CargoResult<()>
Expand description

Executes rustc --print <VALUE>.

  • print_opt_value is the VALUE passed through.