Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impossibility to be build with musl #1331

Closed
unegare opened this issue Jan 29, 2020 · 2 comments
Closed

impossibility to be build with musl #1331

unegare opened this issue Jan 29, 2020 · 2 comments
Labels
C-bug-upstream Category: bug in a dependency (including actix-net)

Comments

@unegare
Copy link

unegare commented Jan 29, 2020

Your issue may already be reported!
Please search on the Actix Web issue tracker before creating one.

Expected Behavior

be build

Current Behavior

cannot produce proc-macro for `actix-macros v0.1.1` as the target `x86_64-unknown-linux-musl` does not support these crate types

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

alpine
x86_64-unknown-linux-musl
actix-web = { version="^2.0", features=["openssl"] }

  • Rust Version (I.e, output of rustc -V): 1.40
  • Actix Web Version: 2.0
@unegare unegare changed the title imposibility to be build with musl impossibility to be build with musl Jan 29, 2020
@Aaron1011
Copy link
Contributor

This is not specific to actix-web - it's a general issue with running proc-macros on a musl host. See rust-lang/cargo#7563

@pythoneer pythoneer added the C-bug-upstream Category: bug in a dependency (including actix-net) label Jan 29, 2020
@nazar-pc
Copy link

Looks like upstream issue was resolved and after installing musl-dev on Alpine Linux I'm able to build working static binary with Actix-Web.

I believe this can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug-upstream Category: bug in a dependency (including actix-net)
Projects
None yet
Development

No branches or pull requests

5 participants