module battery.detect.llvm.conf

Code for handling a small config file that declares information regarding LLVM.

This is for building the compiler on Windows systems, where we can't use llvm-config.

Code Map

//! Code for handling a small config file that declares information
//! regarding LLVM.
module battery.detect.llvm.conf;


//! Given a path to a llvm.conf file, retrieve the contained values.
fn parse(confPath: string, ver: semver.Release, clangCmd: string) bool { }
fn parse(confPath: string, ver: semver.Release, clangCmd: string) bool

Given a path to a llvm.conf file, retrieve the contained values.

The config file is a small TOML file. llvmVersion is a semver string. clangPath is a string with a path to the clang executable.

Parameters

confPath

The path to the config file.

ver
clangCmd