@@ -590,7 +590,7 @@ pub trait Guest {
590590 ) -> _rt::String;
591591}
592592#[doc(hidden)]
593- macro_rules! __export_world_discord_cabi {
593+ macro_rules! __export_world_main_cabi {
594594 ($ty:ident with_types_in $($path_to_types:tt)*) => {
595595 const _ : () = { #[unsafe (export_name = "create-webhook")] unsafe extern "C" fn
596596 export_create_webhook(arg0 : * mut u8, arg1 : usize, arg2 : * mut u8, arg3 :
@@ -641,7 +641,7 @@ macro_rules! __export_world_discord_cabi {
641641 };
642642}
643643#[doc(hidden)]
644- pub(crate) use __export_world_discord_cabi ;
644+ pub(crate) use __export_world_main_cabi ;
645645#[cfg_attr(target_pointer_width = "64", repr(align(8)))]
646646#[cfg_attr(target_pointer_width = "32", repr(align(4)))]
647647struct _RetArea([::core::mem::MaybeUninit<u8>; 9 * ::core::mem::size_of::<*const u8>()]);
@@ -9004,23 +9004,23 @@ mod _rt {
90049004/// ```
90059005#[allow(unused_macros)]
90069006#[doc(hidden)]
9007- macro_rules! __export_discord_impl {
9007+ macro_rules! __export_main_impl {
90089008 ($ty:ident) => {
90099009 self::export!($ty with_types_in self);
90109010 };
90119011 ($ty:ident with_types_in $($path_to_types_root:tt)*) => {
9012- $($path_to_types_root)*:: __export_world_discord_cabi !($ty with_types_in
9012+ $($path_to_types_root)*:: __export_world_main_cabi !($ty with_types_in
90139013 $($path_to_types_root)*);
90149014 };
90159015}
90169016#[doc(inline)]
9017- pub(crate) use __export_discord_impl as export;
9017+ pub(crate) use __export_main_impl as export;
90189018#[cfg(target_arch = "wasm32")]
9019- #[unsafe(link_section = "component-type:wit-bindgen:0.41.0:flow :discord@0.1.0:discord :encoded world")]
9019+ #[unsafe(link_section = "component-type:wit-bindgen:0.41.0:wassemble :discord@0.1.0:main :encoded world")]
90209020#[doc(hidden)]
90219021#[allow(clippy::octal_escapes)]
9022- pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 7009 ] = *b"\
9023- \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xe35 \x01A\x02\x01A.\x01\
9022+ pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 7008 ] = *b"\
9023+ \0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xe55 \x01A\x02\x01A.\x01\
90249024ks\x01r\x03\x07contents\x0achannel-ids\x08guild-id\0\x03\0\x07message\x03\0\x01\x01\
90259025r\x03\x02ids\x05tokens\x03urls\x03\0\x07webhook\x03\0\x03\x01r\x04\x02ids\x08use\
90269026rnames\x0ddiscriminators\x06avatar\0\x03\0\x04user\x03\0\x05\x01r\x04\x02ids\x04\
@@ -9157,9 +9157,9 @@ sage-ids\x07contents\0\x7f\x04\0\x0cedit-message\x01\x1b\x01@\x02\x05tokens\x0ac
91579157hannel-ids\0\x08\x04\0\x0bget-channel\x01\x1c\x01@\x02\x05tokens\x07user-ids\0\x06\
91589158\x04\0\x08get-user\x01\x1d\x01@\x02\x05tokens\x07message\x02\0s\x04\0\x0csend-me\
91599159ssage\x01\x1e\x01@\x03\x05tokens\x07webhook\x04\x07contents\0s\x04\0\x14send-web\
9160- hook-message\x01\x1f\x04\0\x1aflow :discord/discord @0.1.0\x04\0\x0b\x0d \x01\0\x07 \
9161- discord \x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.22 \
9162- 7.1 \x10wit-bindgen-rust\x060.41.0";
9160+ hook-message\x01\x1f\x04\0\x1cwassemble :discord/main @0.1.0\x04\0\x0b\x0a \x01\0\x04 \
9161+ main \x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.227.1 \
9162+ \x10wit-bindgen-rust\x060.41.0";
91639163#[inline(never)]
91649164#[doc(hidden)]
91659165pub fn __link_custom_section_describing_imports() {
0 commit comments