mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -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
67 B
Rust
3 lines
67 B
Rust
fn op_string_length(string: &str) -> u32 {
|
|
string.len() as u32
|
|
}
|