Enum system_deps::Error [−][src]
pub enum Error {
PkgConfig(Error),
BuildInternalClosureError(String, BuildInternalClosureError),
FailToRead(String, Error),
InvalidMetadata(String),
MissingLib(String),
BuildInternalInvalid(String),
BuildInternalNoClosure(String, String),
BuildInternalWrongVersion(String, String, String),
UnsupportedCfg(String),
}
Expand description
system-deps errors
Variants
PkgConfig(Error)
pkg-config error
Tuple Fields of PkgConfig
0: Error
BuildInternalClosureError(String, BuildInternalClosureError)
One of the Config::add_build_internal
closures failed
Tuple Fields of BuildInternalClosureError
Failed to read Cargo.toml
InvalidMetadata(String)
Raised when an error is detected in the metadata defined in Cargo.toml
Tuple Fields of InvalidMetadata
0: String
MissingLib(String)
Raised when dependency defined manually using SYSTEM_DEPS_$NAME_NO_PKG_CONFIG
did not define at least one lib using SYSTEM_DEPS_$NAME_LIB
or
SYSTEM_DEPS_$NAME_LIB_FRAMEWORK
Tuple Fields of MissingLib
0: String
BuildInternalInvalid(String)
An environment variable in the form of SYSTEM_DEPS_$NAME_BUILD_INTERNAL
contained an invalid value (allowed: auto
, always
, never
)
Tuple Fields of BuildInternalInvalid
0: String
system-deps has been asked to internally build a lib, through
SYSTEM_DEPS_$NAME_BUILD_INTERNAL=always' or
SYSTEM_DEPS_$NAME_BUILD_INTERNAL=auto’,
but not closure has been defined using Config::add_build_internal
to build
this lib
The library which has been build internally does not match the
required version defined in Cargo.toml
UnsupportedCfg(String)
The cfg()
expression used in Cargo.toml
is currently not supported
Tuple Fields of UnsupportedCfg
0: String