[−][src]Function sway_conf::compiler::compile
pub fn compile<'a>(config: &mut Vec<Item<'a>>, path: PathBuf) -> Result<(), Err>
Fills in information about the provided config in the context of the running system.
Note: As part of resolving include files, compile may temporarily switch the current
working directory of the process. Callers should not perform any operation which relies
on a stable working directory concurrently to compile()
. Unfortunately, this means
that compile() may erroneously fail if run in parallel.