Document dlfcn shim source basis

This commit is contained in:
cnc
2026-06-02 10:05:22 +08:00
parent cc7faef3a7
commit e1708c96ee
3 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
#include <cstring>
// LinuxCNC source basis: src/emc/rs274ngc/interp_base.cc uses dlopen(),
// dlsym(), dlerror(), RTLD_GLOBAL, and RTLD_NOW for native interpreter loading.
namespace {
thread_local char last_error[128] = "dynamic loading is unavailable in wasm-safe probe";
@@ -27,4 +29,3 @@ int dlclose(void *) {
}
} // extern "C"