Enum system_deps::Error
source · 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
BuildInternalClosureError(String, BuildInternalClosureError)
One of the Config::add_build_internal
closures failed
FailToRead(String, Error)
Failed to read Cargo.toml
InvalidMetadata(String)
Raised when an error is detected in the metadata defined in Cargo.toml
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
BuildInternalInvalid(String)
An environment variable in the form of SYSTEM_DEPS_$NAME_BUILD_INTERNAL
contained an invalid value (allowed: auto
, always
, never
)
BuildInternalNoClosure(String, 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
BuildInternalWrongVersion(String, String, String)
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