Skip to content

Commit

Permalink
chore: upgrade deno_core to 0.244.0 (#21859)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jan 12, 2024
1 parent 289fe7b commit a840937
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repository = "https://github.com/denoland/deno"

[workspace.dependencies]
deno_ast = { version = "0.31.6", features = ["transpiling"] }
deno_core = { version = "0.243.0" }
deno_core = { version = "0.244.0" }

deno_runtime = { version = "0.138.0", path = "./runtime" }
napi_sym = { version = "0.60.0", path = "./cli/napi/sym" }
Expand Down
4 changes: 2 additions & 2 deletions ext/ffi/repr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ext/http/http_next.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ext/node/ops/crypto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ext/web/stream_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ext/websocket/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a840937

Please sign in to comment.