Skip to main content

default_e2e_languages

Function default_e2e_languages 

Source
pub fn default_e2e_languages(scaffolded: &[Language]) -> Vec<String>
Expand description

Map the top-level [languages] list (the scaffolded bindings) to the e2e generator names registered in codegen::all_generators.

Language::Ffi maps to the c generator (the FFI binding’s e2e harness is the C test runner). Language::Rust is always appended because rust is the source language and the rust e2e suite exercises the core crate.

Generators that don’t have a corresponding Language variant (e.g. brew) are intentionally excluded — they require an explicit opt-in via [e2e].languages in alef.toml.