落地映像读写:72 字节头、段布局、FNV-1a、.stb 与 sidecar。

- 指令与映像.md 冻结:头字段表、常量表/函数表行、段序、数据段对齐、sidecar 格式
- Types.h 补 TypeTag;Image.h/cpp:ImageView 校验、write_ret_main、文件与 sidecar
- isa CMake 改 target_include_directories PUBLIC
This commit is contained in:
2026-08-19 14:40:38 +08:00
parent eba48f852e
commit c378411637
8 changed files with 509 additions and 13 deletions
+10
View File
@@ -0,0 +1,10 @@
# CMake最低版本
cmake_minimum_required(VERSION 3.21)
# 工程名、版本号、工程描述
project(Host
VERSION 0.1
DESCRIPTION "可执行入口:编译并跑扫描周期")
add_executable(host
./src/main.cpp)
+5
View File
@@ -0,0 +1,5 @@
# host
可执行入口。CMake 目标:`host``EXECUTABLE`),链接 `compiler``vm`
职责与边界见 [`doc/host/宿主入口.md`](../doc/host/宿主入口.md)。
+14
View File
@@ -0,0 +1,14 @@
/**
* @file main.cpp
* @brief host 可执行入口
* @date 2026-08-19
*/
#include <cstdio>
int main(int argc, char** argv) {
(void)argc;
(void)argv;
std::printf("Stator host 0.1\n");
return 0;
}