blob: 2eacc0eeea118d3d6b5fc9a8bea5eab3ccd03394 [file]
//@ rustfmt-format_strings: true
//@ rustfmt-max_width: 50
impl Foo {
fn cxx(&self, target: &str) -> &Path {
match self.cxx.get(target) {
Some(p) => p.path(),
None => panic!("\ntarget `{}`: is not, configured as a host,
only as a target\n\n", target),
}
}
}