Best regards,
Augusto César Dias
On Fri, 8 Nov 2019 19:57:24 +0100
Augusto César Dias <augusto.c.dias@gmail.com> wrote:
> Yes, even rust has an official alpine image to compile rust
> applications on it, but it states some features won’t work such as
> procedural macros which some libraries makes use of. Here’s an issue
> stating what should be done...
>
> https://github.com/rust-lang/rust/issues/40174#issuecomment-538791091
Procedural macros are not restricted by musl but by static linking,
which rustc defaults to for musl targets. Enforcing dynamic linking
enables you to use procedural macros on musl:
https://github.com/rust-lang/rust/pull/58575#issuecomment-496026747
Johannes