rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

target x86_64-unknown-linux-musl

Open hayd opened this issue 5 years ago • 8 comments

It would be great to build/publish this as a target (for alpine and other platforms without glibc, iiuc).

It already seems to build okay (--target x86_64-unknown-linux-musl). (see also https://github.com/denoland/deno/issues/3711#issuecomment-576040797)

It's unclear to me if it's best to only target x86_64-unknown-linux-musl or to additionally support it. e.g. sccache seems to only provide binaries for that target.

hayd avatar Dec 08 '19 05:12 hayd

If anyone is interested, I have compiled DENO with V8 in Alpine Linux Docker container - without glibc, but completely using the Alpine muslc library.

https://gist.github.com/kesor/68df53a5d76784a235ca6b0e7efed4d9

Enjoy!

kesor avatar May 09 '20 05:05 kesor

Any updates on this? It's been 2 years ... I need musl support in order to embed deno into my linux kernel-based system because it needs to be linked statically with no /lib/*.so dependencies.

theoparis avatar Jan 27 '22 05:01 theoparis

Just because something is open doesn't mean that a) it is being actively worked on or b) set any expectations about it being closed, especially when it comes to open source software.

I am sure a contribution in this area would be welcome.

kitsonk avatar Jan 27 '22 09:01 kitsonk

I'm trying to build a static Edge Runtime but I'm new to Rust. Where could I start to attempt to build deno statically?

localhosted avatar May 14 '23 00:05 localhosted