推进LinuxCNC WASM最小解释器验证
结论:新增独立 wasm-port 工作区,修复 native probes include 路径,最小解释器 harness 已可验证 G0 直线快速、G1 进给和 SET_FEED_RATE canonical event。检查:git diff --check 通过;wasm-port/tests/native/verify_native_probes.sh 通过。
This commit is contained in:
12
wasm-port/runtime/core/include/canon_event_sink.hh
Normal file
12
wasm-port/runtime/core/include/canon_event_sink.hh
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace standalone {
|
||||
|
||||
void reset_canon_events();
|
||||
void push_canon_event(const std::string &event);
|
||||
const std::vector<std::string> &canon_events();
|
||||
|
||||
} // namespace standalone
|
||||
Reference in New Issue
Block a user