amp icon indicating copy to clipboard operation
amp copied to clipboard

How to compile amp as a static musl binary?

Open lanceschi opened this issue 4 years ago • 1 comments

Hello @jmacdonald,

and thanks :100: for the awesome editor!

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

Thanks in advance

lanceschi avatar Dec 20 '21 13:12 lanceschi

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)

lanceschi avatar Dec 21 '21 14:12 lanceschi