Enum pkg_config::Error
[−]
[src]
pub enum Error { EnvNoPkgConfig(String), CrossCompilation, MSVC, Command { command: String, cause: Error, }, Failure { command: String, output: Output, }, // some variants omitted }
Represents all reasons pkg-config
might not succeed or be run at all.
Variants
EnvNoPkgConfig(String)
Aborted because of *_NO_PKG_CONFIG
environment variable.
Contains the name of the responsible environment variable.
CrossCompilation
Cross compilation detected.
Override with PKG_CONFIG_ALLOW_CROSS=1
.
MSVC
Attempted to compile using the MSVC ABI build
Command
Failed to run pkg-config
.
Contains the command and the cause.
Fields of Command
command: String | |
cause: Error |
Failure
pkg-config
did not exit sucessfully.
Contains the command and output.
Fields of Failure
command: String | |
output: Output |
Trait Implementations
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more