From 4d2d57fdb437e4e6c1d5a7449cce6cf0762d1d02 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Wed, 14 Oct 2026 13:43:50 -0500 Subject: [PATCH] Remove duskscriptvm.h, fold its includes into script.h It had exactly one consumer (script.h) and added nothing of its own beyond re-including duskscript.h + image/scriptvmattach.h + image/scriptvmrun.h - a pointless indirection now that it's not a standalone embedding SDK with multiple external consumers. Co-Authored-By: Claude Sonnet 5 --- src/dusk/script/script.h | 3 ++- src/dusk/script/vm/duskscriptvm.h | 14 -------------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 src/dusk/script/vm/duskscriptvm.h diff --git a/src/dusk/script/script.h b/src/dusk/script/script.h index e68f773c..a6a1aeaa 100644 --- a/src/dusk/script/script.h +++ b/src/dusk/script/script.h @@ -9,7 +9,8 @@ #include "dusk.h" #include "error/error.h" #include "duskscript.h" -#include "duskscriptvm.h" +#include "image/scriptvmattach.h" +#include "image/scriptvmrun.h" // The whole memory budget of the script context. The runtime never asks the // system for more than this, see scriptRuntimeCreate. diff --git a/src/dusk/script/vm/duskscriptvm.h b/src/dusk/script/vm/duskscriptvm.h deleted file mode 100644 index 5105cac1..00000000 --- a/src/dusk/script/vm/duskscriptvm.h +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) 2026 Dominic Masters - * - * This software is released under the MIT License. - * https://opensource.org/licenses/MIT - */ - -#pragma once - -// The bytecode virtual machine, it runs compiled scripts. - -#include "duskscript.h" -#include "image/scriptvmattach.h" -#include "image/scriptvmrun.h"