Skip to content

Commit 4facb4c

Browse files
committed
Fix expanded wits
1 parent 6f8ad64 commit 4facb4c

File tree

76 files changed

+92
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+92
-0
lines changed

crates/component-macro/tests/expanded/char.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ pub mod exports {
253253
pub mod chars {
254254
#[allow(unused_imports)]
255255
use wasmtime::component::__internal::{anyhow, Box};
256+
#[derive(Clone)]
256257
pub struct Guest {
257258
take_char: wasmtime::component::Func,
258259
return_char: wasmtime::component::Func,

crates/component-macro/tests/expanded/char_async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ pub mod exports {
267267
pub mod chars {
268268
#[allow(unused_imports)]
269269
use wasmtime::component::__internal::{anyhow, Box};
270+
#[derive(Clone)]
270271
pub struct Guest {
271272
take_char: wasmtime::component::Func,
272273
return_char: wasmtime::component::Func,

crates/component-macro/tests/expanded/char_concurrent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ pub mod exports {
246246
pub mod chars {
247247
#[allow(unused_imports)]
248248
use wasmtime::component::__internal::{anyhow, Box};
249+
#[derive(Clone)]
249250
pub struct Guest {
250251
take_char: wasmtime::component::Func,
251252
return_char: wasmtime::component::Func,

crates/component-macro/tests/expanded/char_tracing_async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ pub mod exports {
296296
pub mod chars {
297297
#[allow(unused_imports)]
298298
use wasmtime::component::__internal::{anyhow, Box};
299+
#[derive(Clone)]
299300
pub struct Guest {
300301
take_char: wasmtime::component::Func,
301302
return_char: wasmtime::component::Func,

crates/component-macro/tests/expanded/conventions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ pub mod exports {
453453
>::ALIGN32
454454
);
455455
};
456+
#[derive(Clone)]
456457
pub struct Guest {
457458
kebab_case: wasmtime::component::Func,
458459
foo: wasmtime::component::Func,

crates/component-macro/tests/expanded/conventions_async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ pub mod exports {
511511
>::ALIGN32
512512
);
513513
};
514+
#[derive(Clone)]
514515
pub struct Guest {
515516
kebab_case: wasmtime::component::Func,
516517
foo: wasmtime::component::Func,

crates/component-macro/tests/expanded/conventions_concurrent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ pub mod exports {
459459
>::ALIGN32
460460
);
461461
};
462+
#[derive(Clone)]
462463
pub struct Guest {
463464
kebab_case: wasmtime::component::Func,
464465
foo: wasmtime::component::Func,

crates/component-macro/tests/expanded/conventions_tracing_async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ pub mod exports {
671671
>::ALIGN32
672672
);
673673
};
674+
#[derive(Clone)]
674675
pub struct Guest {
675676
kebab_case: wasmtime::component::Func,
676677
foo: wasmtime::component::Func,

crates/component-macro/tests/expanded/flags.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ pub mod exports {
590590
4 == < Flag64 as wasmtime::component::ComponentType >::ALIGN32
591591
);
592592
};
593+
#[derive(Clone)]
593594
pub struct Guest {
594595
roundtrip_flag1: wasmtime::component::Func,
595596
roundtrip_flag2: wasmtime::component::Func,

crates/component-macro/tests/expanded/flags_async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ pub mod exports {
646646
4 == < Flag64 as wasmtime::component::ComponentType >::ALIGN32
647647
);
648648
};
649+
#[derive(Clone)]
649650
pub struct Guest {
650651
roundtrip_flag1: wasmtime::component::Func,
651652
roundtrip_flag2: wasmtime::component::Func,

0 commit comments

Comments
 (0)