format > to_string

This commit is contained in:
Ralf Jung 2022-09-21 15:25:30 +02:00
parent 33284ec099
commit c672c35ad6

View File

@ -365,7 +365,7 @@ fn emulate_intrinsic_by_name(
"breakpoint" => { "breakpoint" => {
let [] = check_arg_count(args)?; let [] = check_arg_count(args)?;
// normally this would raise a SIGTRAP, which aborts if no debugger is connected // normally this would raise a SIGTRAP, which aborts if no debugger is connected
throw_machine_stop!(TerminationInfo::Abort("Trace/breakpoint trap".to_string())) throw_machine_stop!(TerminationInfo::Abort(format!("Trace/breakpoint trap")))
} }
name => throw_unsup_format!("unimplemented intrinsic: `{name}`"), name => throw_unsup_format!("unimplemented intrinsic: `{name}`"),