fix: when auto_continue is disabled via the .set auto_continue false command, it should strip the todo functions from the list of functions

This commit is contained in:
2026-06-10 19:31:19 -06:00
parent 218750cc1e
commit 1931331163
2 changed files with 12 additions and 3 deletions
+5
View File
@@ -357,6 +357,11 @@ impl Functions {
self.declarations.extend(todo::todo_function_declarations());
}
pub fn remove_todo_functions(&mut self) {
self.declarations
.retain(|f| !f.name.starts_with(TODO_FUNCTION_PREFIX));
}
pub fn append_memory_functions(&mut self) {
self.declarations
.extend(memory::memory_function_declarations());