diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ffi/repr.rs | 4 | ||||
-rw-r--r-- | ext/http/http_next.rs | 2 | ||||
-rw-r--r-- | ext/node/ops/crypto/mod.rs | 2 | ||||
-rw-r--r-- | ext/web/stream_resource.rs | 2 | ||||
-rw-r--r-- | ext/websocket/lib.rs | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/ext/ffi/repr.rs b/ext/ffi/repr.rs index 9208861cb..d6acc8ad2 100644 --- a/ext/ffi/repr.rs +++ b/ext/ffi/repr.rs @@ -44,7 +44,7 @@ where Ok(a == b) } -#[op2(fast)] +#[op2] pub fn op_ffi_ptr_of<FP>( state: &mut OpState, #[anybuffer] buf: *const u8, @@ -172,7 +172,7 @@ where Ok(array_buffer) } -#[op2(fast)] +#[op2] pub fn op_ffi_buf_copy_into<FP>( state: &mut OpState, src: *mut c_void, diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs index aae216172..a58c5f09a 100644 --- a/ext/http/http_next.rs +++ b/ext/http/http_next.rs @@ -769,7 +769,7 @@ pub fn op_http_set_response_body_text( } } -#[op2(fast)] +#[op2] pub fn op_http_set_response_body_bytes( external: *const c_void, #[buffer] buffer: JsBuffer, diff --git a/ext/node/ops/crypto/mod.rs b/ext/node/ops/crypto/mod.rs index 486c34147..f73d96580 100644 --- a/ext/node/ops/crypto/mod.rs +++ b/ext/node/ops/crypto/mod.rs @@ -55,7 +55,7 @@ pub fn op_node_check_prime( primes::is_probably_prime(&BigInt::from(num), checks) } -#[op2(fast)] +#[op2] pub fn op_node_check_prime_bytes( #[anybuffer] bytes: &[u8], #[number] checks: usize, diff --git a/ext/web/stream_resource.rs b/ext/web/stream_resource.rs index 95525cdf4..9a46b6d47 100644 --- a/ext/web/stream_resource.rs +++ b/ext/web/stream_resource.rs @@ -518,7 +518,7 @@ pub fn op_readable_stream_resource_write_buf( /// Write to the channel synchronously, returning 0 if the channel was closed, 1 if we wrote /// successfully, 2 if the channel was full and we need to block. -#[op2(fast)] +#[op2] pub fn op_readable_stream_resource_write_sync( sender: *const c_void, #[buffer] buffer: JsBuffer, diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index da4589682..4b544b4f8 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -562,7 +562,7 @@ fn send_binary(state: &mut OpState, rid: ResourceId, data: &[u8]) { }); } -#[op2(fast)] +#[op2] pub fn op_ws_send_binary( state: &mut OpState, #[smi] rid: ResourceId, |