kernel/executor/
mod.rs

1//! Transparent Executor Module
2//!
3//! This module implements the TransparentExecutor, which provides unified
4//! exec API for all ABIs in Scarlet OS.
5//! 
6//! The TransparentExecutor enables:
7//! - Unified exec processing for all ABIs
8//! - Binary format detection and ABI delegation
9//! - VFS inheritance and resource management
10//! - Does NOT contain ABI-specific knowledge
11//!
12//! ## Design Principle
13//!
14//! The TransparentExecutor follows the principle of separation of concerns:
15//! - **Scarlet Core**: Provides unified exec API and resource management
16//! - **ABI Modules**: Handle their own binary formats and conversions
17//! - **No ABI knowledge in core**: Core does not know about specific ABIs
18
19pub mod executor;
20
21#[cfg(test)]
22mod tests;
23
24// TODO: Update VFS tests to use new API after refactoring
25//#[cfg(test)]
26//mod vfs_tests;
27
28pub use executor::TransparentExecutor;