(s: *mut c_char)
| 541 | /// `s` must be either null or a pointer previously returned by `cake_start_worker` / `cake_get_worker_status`. |
| 542 | #[no_mangle] |
| 543 | pub unsafe extern "C" fn cake_free_string(s: *mut c_char) { |
| 544 | if !s.is_null() { |
| 545 | drop(CString::from_raw(s)); |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | async fn run_text_worker(ctx: &mut Context) -> String { |
| 550 | log_mobile(&format!("[cake-mobile] text model arch: {:?}", ctx.text_model_arch)); |
no outgoing calls
no test coverage detected