Skip to content

error: cannot produce proc-macro for clap_derive v3.0.0-beta.1 as the target x86_64-unknown-linux-musl does not support these crate types #1938

@mrusme

Description

@mrusme

Make sure you completed the following tasks

Code

Here.

Steps to reproduce the issue

Here.

Version

Environment: 1.43.1-alpine3.11
Clap: 3.0.0-beta.1

Actual Behavior Summary

error: cannot produce proc-macro for 'clap_derive v3.0.0-beta.1' as the target 'x86_64-unknown-linux-musl' does not support these crate types

Expected Behavior Summary

Build should be successful.

Additional context

Alpine Linux, official Rust image.

Debug output

Here.

Metadata

Metadata

Labels

C-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions