Replace el.toml with manifest.el throughout — El manifests are El, not TOML

This commit is contained in:
Will Anderson
2026-04-29 22:48:31 -05:00
parent ede087eb04
commit a7f89e4776
4 changed files with 24 additions and 24 deletions
@@ -1,6 +1,6 @@
//! el-build — Build orchestrator for the Engram language toolchain.
//!
//! Reads `el.toml`, resolves dependencies, compiles source files, and produces
//! Reads `manifest.el`, resolves dependencies, compiles source files, and produces
//! artifacts. Supports incremental builds via BLAKE3 file hashes stored in
//! `.el/build-cache.json`.
//!
@@ -10,7 +10,7 @@
//! use el_manifest::Manifest;
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! let manifest = Manifest::from_file(std::path::Path::new("el.toml"))?;
//! let manifest = Manifest::from_file(std::path::Path::new("manifest.el"))?;
//! let bs = BuildSystem::new(manifest, std::env::current_dir()?);
//! let output = bs.build(None).await?;
//! println!("artifact: {}", output.artifact_path.display());
@@ -59,7 +59,7 @@ pub enum PluginError {
/// Plugins receive three optional hooks during compilation. Each hook may
/// mutate the data it receives (AST, bytecode) or read it for analysis.
pub trait CompilerPlugin: Send + Sync {
/// The plugin's canonical name (matches its key in `el.toml [plugins]`).
/// The plugin's canonical name (matches its key in `manifest.el [plugins]`).
fn name(&self) -> &str;
/// The plugin's version string.
@@ -107,7 +107,7 @@ pub enum SealKeySource {
}
impl SealKeySource {
/// Parse from the `el.toml` string representation.
/// Parse from the `manifest.el` string representation.
pub fn parse(s: &str) -> Result<Self, crate::ManifestError> {
if let Some(var) = s.strip_prefix("env:") {
Ok(SealKeySource::EnvVar(var.to_string()))
@@ -178,7 +178,7 @@ pub enum CrossTarget {
}
impl CrossTarget {
/// Parse from the string used in `el.toml`.
/// Parse from the string used in `manifest.el`.
pub fn parse(s: &str) -> Result<Self, crate::ManifestError> {
match s {
"x86_64-linux" => Ok(CrossTarget::X86_64Linux),
@@ -209,7 +209,7 @@ impl CrossTarget {
}
}
/// The string as it appears in `el.toml`.
/// The string as it appears in `manifest.el`.
pub fn as_str(&self) -> &'static str {
match self {
CrossTarget::X86_64Linux => "x86_64-linux",