Expand description
Phase 37: Build Orchestration
Coordinates the build process for LOGOS projects.
This module handles the complete build pipeline:
- Load the project manifest (
Largo.toml) - Compile LOGOS source to Rust code
- Set up a Cargo project with runtime dependencies
- Invoke
cargo buildto produce the final binary
§Build Directory Structure
target/
├── debug/
│ └── build/ # Generated Cargo project (debug)
│ ├── Cargo.toml
│ ├── src/main.rs # Generated Rust code
│ └── target/ # Cargo's output
└── release/
└── build/ # Generated Cargo project (release)Structs§
- Build
Config - Configuration for a build operation.
- Build
Result - Result of a successful build operation.
Enums§
- Build
Error - Errors that can occur during the build process.
Functions§
- build
- Build a LOGOS project.
- find_
project_ root - Find the project root by walking up the directory tree.
- run
- Execute a built LOGOS project.