Struct llvmenv::entry::EntrySetting

source ·
pub struct EntrySetting {
    pub url: Option<String>,
    pub path: Option<String>,
    pub tools: Vec<Tool>,
    pub target: Vec<String>,
    pub option: HashMap<String, String>,
    pub builder: CMakeGenerator,
    pub build_type: BuildType,
}
Expand description

Setting for both Remote and Local entries. TOML setting file will be decoded into this struct.

Fields§

§url: Option<String>

URL of remote LLVM resource, see also resouce module

§path: Option<String>

Path of local LLVM source dir

§tools: Vec<Tool>

Additional LLVM Tools, e.g. clang, openmp, lld, and so on.

§target: Vec<String>

Target to be build. Empty means all backend

§option: HashMap<String, String>

Additional LLVM build options

§builder: CMakeGenerator

CMake Generator option (-G option in cmake)

§build_type: BuildType

Option for CMAKE_BUILD_TYPE

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.