From dd0be0fa21f3747f2fd4a7d3f12e5d250b970276 Mon Sep 17 00:00:00 2001 From: Yuki Nakata Date: Mon, 9 Mar 2026 11:28:57 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20Remove=20incorrect?= =?UTF-8?q?=20table=20references=20from=E3=80=80C/R=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/execution/migration.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/execution/migration.rs b/src/execution/migration.rs index c94dcb1..00c60b7 100644 --- a/src/execution/migration.rs +++ b/src/execution/migration.rs @@ -9,7 +9,6 @@ //! - Execution stacks (call frames and register state) //! - Linear memory contents //! - Global variable values -//! - Table entries (function references) //! //! ## Trigger Mechanisms //! @@ -77,8 +76,7 @@ pub fn check_checkpoint_trigger(frame: &Frame) -> Result { /// - Global variable values /// /// Tables are excluded: they are deterministically initialized from element -/// segments during module instantiation (C/C++ compilers do not generate -/// runtime table mutations). +/// segments during module instantiation. #[derive(Serialize, Deserialize, Debug)] pub struct SerializableState { pub stacks: Stacks, @@ -89,7 +87,7 @@ pub struct SerializableState { /// Serializes runtime state to a checkpoint file. /// -/// Captures memory, globals, tables, and stack state for later restoration. +/// Captures memory, globals, and stack state for later restoration. pub fn checkpoint>( module_inst: &ModuleInst, stacks: &Stacks, @@ -206,7 +204,7 @@ pub fn checkpoint>( /// Restores runtime state from a checkpoint file. /// -/// Reads serialized state and restores memory, globals, tables, and stacks. +/// Reads serialized state and restores memory, globals, and stacks. pub fn restore>( module_inst: Rc, input_path: P,