docs+config: document and catalog resolve env vars
This commit is contained in:
24
src/config/env/catalog.rs
vendored
24
src/config/env/catalog.rs
vendored
@ -263,6 +263,30 @@ pub fn env_vars() -> Vec<EnvVarMeta> {
|
||||
applies_to: AppliesTo::CLI,
|
||||
default: None,
|
||||
},
|
||||
EnvVarMeta {
|
||||
name: "NYASH_ROOT",
|
||||
description: "Repo root hint for tools/path resolution (optional)",
|
||||
applies_to: AppliesTo::CLI,
|
||||
default: None,
|
||||
},
|
||||
EnvVarMeta {
|
||||
name: "NYASH_RESOLVE_TRACE",
|
||||
description: "Trace using/prelude resolution (1=true)",
|
||||
applies_to: AppliesTo::Compiler,
|
||||
default: None,
|
||||
},
|
||||
EnvVarMeta {
|
||||
name: "NYASH_RESOLVE_SEAM_DEBUG",
|
||||
description: "Insert using boundary markers for diagnostics (1=true)",
|
||||
applies_to: AppliesTo::Compiler,
|
||||
default: None,
|
||||
},
|
||||
EnvVarMeta {
|
||||
name: "NYASH_RESOLVE_DUMP_MERGED",
|
||||
description: "Dump merged prelude+main source to the given path",
|
||||
applies_to: AppliesTo::Compiler,
|
||||
default: None,
|
||||
},
|
||||
// Macro capabilities (Phase 286A)
|
||||
EnvVarMeta {
|
||||
name: "NYASH_MACRO_CAP_IO",
|
||||
|
||||
Reference in New Issue
Block a user