jmacdonald / amp

A complete text editor for your terminal.

Home Page:https://amp.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to compile amp as a static musl binary?

lanceschi opened this issue · comments

Hello @jmacdonald,

and thanks 💯 for the awesome editor!

Is it possible to compile amp as a static musl binary?

Thanks in advance

I tried to compile amp with following flags:

cargo build --release --target x86_64-unknown-linux-musl

It compiles successfully but if launch amp, it crashes reporting with the following error:

fish: Job 1, './amp' terminated by signal SIGSEGV (Address boundary error)