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

Aborted because of *_NO_PKG_CONFIG environment variable.

Contains the name of the responsible environment variable.

Cross compilation detected.

Override with PKG_CONFIG_ALLOW_CROSS=1.

Attempted to compile using the MSVC ABI build

Failed to run pkg-config.

Contains the command and the cause.

Fields of Command

pkg-config did not exit sucessfully.

Contains the command and output.

Fields of Failure

Trait Implementations

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more