From 31e428516cd79f104c1a57abbc8501f029bd47f9 Mon Sep 17 00:00:00 2001 From: Jacob Steves Date: Tue, 1 Sep 2026 15:58:44 -0400 Subject: [PATCH] bump rust nightly --- NIGHTLY_VERSION | 2 +- ext/src/ruby_api/component/instance.rs | 1 + ext/src/ruby_api/engine.rs | 1 + ext/src/ruby_api/instance.rs | 1 + ext/src/ruby_api/linker.rs | 1 + ext/src/ruby_api/module.rs | 1 + ext/src/ruby_api/pooling_allocation_config.rs | 1 + ext/src/ruby_api/store.rs | 1 + ext/src/ruby_api/trap.rs | 1 + ext/src/ruby_api/wasi_config.rs | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) diff --git a/NIGHTLY_VERSION b/NIGHTLY_VERSION index 35559038..16354433 100644 --- a/NIGHTLY_VERSION +++ b/NIGHTLY_VERSION @@ -1 +1 @@ -nightly-2026-01-16 +nightly-2026-04-17 diff --git a/ext/src/ruby_api/component/instance.rs b/ext/src/ruby_api/component/instance.rs index a93bbdf0..f1ac6001 100644 --- a/ext/src/ruby_api/component/instance.rs +++ b/ext/src/ruby_api/component/instance.rs @@ -19,6 +19,7 @@ use magnus::{IntoValue, RModule}; use wasmtime::component::{ComponentExportIndex, Instance as InstanceImpl, Type, Val}; /// @yard +/// @rename Wasmtime::Component::Instance /// Represents a WebAssembly component instance. /// @see https://docs.rs/wasmtime/latest/wasmtime/component/struct.Instance.html Wasmtime's Rust doc #[derive(Clone, TypedData)] diff --git a/ext/src/ruby_api/engine.rs b/ext/src/ruby_api/engine.rs index 990344e9..ecd082aa 100644 --- a/ext/src/ruby_api/engine.rs +++ b/ext/src/ruby_api/engine.rs @@ -25,6 +25,7 @@ lazy_static::lazy_static! { } /// @yard +/// @rename Wasmtime::Engine /// Represents a Wasmtime execution engine. /// /// @example Disabling parallel compilation diff --git a/ext/src/ruby_api/instance.rs b/ext/src/ruby_api/instance.rs index f8a16434..d479b40a 100644 --- a/ext/src/ruby_api/instance.rs +++ b/ext/src/ruby_api/instance.rs @@ -13,6 +13,7 @@ use magnus::{ use wasmtime::{Extern, Instance as InstanceImpl, StoreContextMut}; /// @yard +/// @rename Wasmtime::Instance /// Represents a WebAssembly instance. /// @see https://docs.rs/wasmtime/latest/wasmtime/struct.Instance.html Wasmtime's Rust doc #[derive(Clone, Debug, TypedData)] diff --git a/ext/src/ruby_api/linker.rs b/ext/src/ruby_api/linker.rs index 5cdec806..2414056e 100644 --- a/ext/src/ruby_api/linker.rs +++ b/ext/src/ruby_api/linker.rs @@ -19,6 +19,7 @@ use std::cell::RefCell; use wasmtime::Linker as LinkerImpl; /// @yard +/// @rename Wasmtime::Linker /// @see https://docs.rs/wasmtime/latest/wasmtime/struct.Linker.html Wasmtime's Rust doc #[derive(TypedData)] #[magnus(class = "Wasmtime::Linker", size, mark, free_immediately)] diff --git a/ext/src/ruby_api/module.rs b/ext/src/ruby_api/module.rs index 26be3112..2a9c0744 100644 --- a/ext/src/ruby_api/module.rs +++ b/ext/src/ruby_api/module.rs @@ -23,6 +23,7 @@ use rb_sys::{ use wasmtime::{ImportType, Module as ModuleImpl}; /// @yard +/// @rename Wasmtime::Module /// Represents a WebAssembly module. /// @see https://docs.rs/wasmtime/latest/wasmtime/struct.Module.html Wasmtime's Rust doc #[derive(Clone)] diff --git a/ext/src/ruby_api/pooling_allocation_config.rs b/ext/src/ruby_api/pooling_allocation_config.rs index ebb72b35..c028db96 100644 --- a/ext/src/ruby_api/pooling_allocation_config.rs +++ b/ext/src/ruby_api/pooling_allocation_config.rs @@ -11,6 +11,7 @@ use wasmtime::{Enabled, PoolingAllocationConfig as PoolingAllocationConfigImpl}; use crate::{define_rb_intern, err, helpers::SymbolEnum, root}; /// @yard +/// @rename Wasmtime::PoolingAllocationConfig /// Configuration options used with an engines `allocation_strategy` to change /// the behavior of the pooling instance allocator. /// @see https://docs.rs/wasmtime/latest/wasmtime/struct.PoolingAllocationConfig.html Wasmtime's Rust doc diff --git a/ext/src/ruby_api/store.rs b/ext/src/ruby_api/store.rs index 24978623..2e086369 100644 --- a/ext/src/ruby_api/store.rs +++ b/ext/src/ruby_api/store.rs @@ -123,6 +123,7 @@ impl StoreData { } /// @yard +/// @rename Wasmtime::Store /// Represents a WebAssembly store. /// @see https://docs.rs/wasmtime/latest/wasmtime/struct.Store.html Wasmtime's Rust doc #[derive(Debug, TypedData)] diff --git a/ext/src/ruby_api/trap.rs b/ext/src/ruby_api/trap.rs index 9849d904..02e3579f 100644 --- a/ext/src/ruby_api/trap.rs +++ b/ext/src/ruby_api/trap.rs @@ -23,6 +23,7 @@ macro_rules! trap_const { #[derive(TypedData, Debug)] #[magnus(class = "Wasmtime::Trap", size, free_immediately)] /// @yard +/// @rename Wasmtime::Trap pub struct Trap { trap: wasmtime::Trap, wasm_backtrace: Option, diff --git a/ext/src/ruby_api/wasi_config.rs b/ext/src/ruby_api/wasi_config.rs index 92e9800d..3e031de1 100644 --- a/ext/src/ruby_api/wasi_config.rs +++ b/ext/src/ruby_api/wasi_config.rs @@ -242,6 +242,7 @@ impl TryFrom for FilePerms { } /// @yard +/// @rename Wasmtime::WasiConfig /// WASI config to be sent as {Store#new}’s +wasi_config+ keyword argument. /// /// Instance methods mutate the current object and return +self+.