新增解释器核心WASM验证
结论:已建立基于LinuxCNC解释器源码的最小WASM核心构建和minimal_linear夹具验证,并接入host smoke。
This commit is contained in:
14
wasm-port/runtime/core/shims/boost/noncopyable.hpp
Normal file
14
wasm-port/runtime/core/shims/boost/noncopyable.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
namespace boost {
|
||||
|
||||
class noncopyable {
|
||||
protected:
|
||||
noncopyable() = default;
|
||||
~noncopyable() = default;
|
||||
|
||||
noncopyable(const noncopyable &) = delete;
|
||||
noncopyable &operator=(const noncopyable &) = delete;
|
||||
};
|
||||
|
||||
} // namespace boost
|
||||
8
wasm-port/runtime/core/shims/linuxcnc_wasm_compat.hh
Normal file
8
wasm-port/runtime/core/shims/linuxcnc_wasm_compat.hh
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <libgen.h>
|
||||
|
||||
inline char *basename(const char *path)
|
||||
{
|
||||
return ::basename(const_cast<char *>(path));
|
||||
}
|
||||
Reference in New Issue
Block a user