mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
38555a6a0f
Reland https://github.com/denoland/deno/pull/16777 The codegen is disabled in async ops and when fallback to slow call is possible (return type is a Result) to avoid hitting this V8 bug: https://github.com/denoland/deno/issues/17159
3 lines
69 B
Rust
3 lines
69 B
Rust
fn op_string_length(string: String) -> u32 {
|
|
string.len() as u32
|
|
}
|