双可执行落地:STCompiler 与 BytecodeExecutor。

- STCompiler 入口在 compiler/src/main.cpp,链 compiler+isa
- host/ 改名 executor/,BytecodeExecutor 链 vm+isa 不链 compiler
- compiler/vm 补 PUBLIC 链 isa;顶层加入 executor
- CTest:版本冒烟 2 例 + isa_roundtrip(89 断言),3/3 通过
This commit is contained in:
2026-08-19 14:40:44 +08:00
parent c378411637
commit dd7f7bcba7
9 changed files with 290 additions and 16 deletions
+6 -3
View File
@@ -2,9 +2,12 @@
cmake_minimum_required(VERSION 3.21)
# 工程名、版本号、工程描述
project(Host
project(Executor
VERSION 0.1
DESCRIPTION "可执行入口:编译并跑扫描周期")
DESCRIPTION "字节码执行器:加载 .stb + sidecar 跑扫描周期")
add_executable(host
add_executable(BytecodeExecutor
./src/main.cpp)
# 只链 vm + isa,不链 compiler
target_link_libraries(BytecodeExecutor PRIVATE vm)