jmacdonald / amp

A complete text editor for your terminal.
https://amp.rs
Other
3.67k stars 105 forks source link

How to compile amp as a static musl binary? #250

Open lanceschi opened 2 years ago

lanceschi commented 2 years ago

Hello @jmacdonald,

and thanks :100: for the awesome editor!

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

Thanks in advance

lanceschi commented 2 years ago

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)