pub fn slice(project: Project, diags: &mut Diagnostics) -> Option<Placed>Expand description
Slice a checked project into the roles the runtime drives.
Separate from check_project so that “this typechecks” and “this is a runnable application”
are two answers rather than one: a library gets the first and not the second, and that is not a
failure.