Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 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 @@ -112,7 +112,7 @@ syn = { version = "2.0.116", default-features = false }
proc-macro2 = "1.0"
synstructure = "0.13"
measureme = "12.0.3"
paste = "1.0"
pastey = "0.2.1"
rand = "0.10.0"
num-integer = "0.1.46"
ryu-js = "1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion core/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ryu-js.workspace = true
fast-float2.workspace = true
tap.workspace = true
small_btree.workspace = true
paste.workspace = true
pastey.workspace = true
thiserror.workspace = true
dashmap.workspace = true
num_enum.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion core/engine/src/vm/opcode/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ macro_rules! impl_argument_for_int {
impl Argument for $t {
#[inline(always)]
fn encode(self, bytes: &mut Vec<u8>) {
paste::paste! {
pastey::paste! {
[<write_ $t>](bytes, self);
}
}
Expand Down
10 changes: 5 additions & 5 deletions core/engine/src/vm/opcode/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ macro_rules! generate_opcodes {

impl BytecodeEmitter {
$(
paste::paste! {
pastey::paste! {
#[allow(unused)]
pub(crate) fn [<emit_ $Variant:snake>](&mut self $( $(, $FieldName: $FieldType)* )? ) {
encode_instruction(
Expand All @@ -412,7 +412,7 @@ macro_rules! generate_opcodes {
pub(crate) const OPCODE_HANDLERS: [OpcodeHandler; 256] = {
[
$(
paste::paste! { [<handle_ $Variant:snake>] },
pastey::paste! { [<handle_ $Variant:snake>] },
)*
]
};
Expand All @@ -422,13 +422,13 @@ macro_rules! generate_opcodes {
pub(crate) const OPCODE_HANDLERS_BUDGET: [OpcodeHandlerBudget; 256] = {
[
$(
paste::paste! { [<handle_ $Variant:snake _budget>] },
pastey::paste! { [<handle_ $Variant:snake _budget>] },
)*
]
};

$(
paste::paste! {
pastey::paste! {
#[inline(always)]
#[allow(unused_parens)]
fn [<handle_ $Variant:snake>](context: &mut Context, pc: usize) -> ControlFlow<CompletionRecord> {
Expand All @@ -442,7 +442,7 @@ macro_rules! generate_opcodes {
)*

$(
paste::paste! {
pastey::paste! {
#[inline(always)]
#[allow(unused_parens)]
fn [<handle_ $Variant:snake _budget>](context: &mut Context, pc: usize, budget: &mut u32) -> ControlFlow<CompletionRecord> {
Expand Down
2 changes: 1 addition & 1 deletion core/icu_provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ icu_normalizer = { workspace = true, features = ["serde", "datagen"] }
icu_plurals = { workspace = true, features = ["serde", "datagen", "unstable"] }
icu_segmenter = { workspace = true, features = ["serde", "datagen"] }
once_cell = { workspace = true, default-features = false, features = ["critical-section"] }
paste.workspace = true
pastey.workspace = true

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion core/icu_provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl DynamicDryDataProvider<BufferMarker> for LazyBufferProvider {
/// A macro that creates a [`LazyBufferProvider`] from an icu4x crate.
macro_rules! provider_from_icu_crate {
($service:path) => {
paste::paste! {
pastey::paste! {
LazyBufferProvider {
provider: OnceCell::new(),
bytes: include_bytes!(concat!(
Expand Down
2 changes: 1 addition & 1 deletion core/string/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rustc-hash = { workspace = true, features = ["std"] }
ryu-js.workspace = true

static_assertions.workspace = true
paste.workspace = true
pastey.workspace = true
fast-float2.workspace = true

[lints]
Expand Down
2 changes: 1 addition & 1 deletion core/string/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use super::JsString;
use crate::{JsStr, StaticString};
use paste::paste;
use pastey::paste;
use rustc_hash::FxHashMap;
use std::sync::LazyLock;

Expand Down
Loading