mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
eda8c83d8b
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
|
|
}
|