Skip to content

Unsupported --parallel flag issued #143

Closed
@JorritSalverda

Description

@JorritSalverda

I'm trying to build a Lambda function in Rust to write to Kafka using the rdkafka crate as follows:

[dependencies]
rdkafka = { version = "0.28.0", features = ["ssl-vendored", "gssapi-vendored", "libz-static", "cmake-build"] }

I'm building it using Docker image ekidd/rust-musl-builder:1.57.0 with apt-get package libsasl2-dev installed before running cargo build --release --target x86_64-unknown-linux-musl.

Unfortunately when this crate gets build it adds a --parallel flag that's not supported by the cmake version in that Docker image. Is there any way to disable this flag or autodetect that it's not supported?

See emk/rust-musl-builder#138 for the issue with more detail on the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions