Skip to main content

rust-kernel-ffi

Build a Rust cdylib that a TypeScript/Bun runtime calls via koffi FFI, for a security kernel or enforcement core. Use when exposing Rust to Node/Bun (#[no_mangle] extern "C", JSON-over-C-string functions + a free fn), bridging a Rust crypto/capability primitive to a daemon, loading a .dylib/.so with koffi and degrading gracefully when it's absent, RustCrypto HMAC-SHA256 + constant-time compare, crate-type=["rlib","cdylib"], or panic-free fail-closed Rust across an FFI boundary. NOT for: WebAssembly (use wasm-bindgen), async-across-FFI, moving Rust structs/Vec/String across the boundary without a free fn, or pure Rust-only code with no FFI.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
curiositech/port-daddy
آخر نشاط في المصدر
٣ يوليو ٢٠٢٦ في ١٤:٤٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.