Replies: 2 comments 8 replies
-
This is super hard and at this point i doubt it's really possible with our current stack. Maybe once we have a servo integration that could be statically linked 🤔 Also, can you share the offending paths or some errors? The appimages are supposed to work on non-debian-like distros too, we even patch the webkitgtk .so binary for that 😅 |
Beta Was this translation helpful? Give feedback.
-
This seems obvious in retrospect, but static linking would increase the size of the static binary dramatically. I haven't gotten it to work, but I know that installing the |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to statically link all used libraries when building an AppImage?
After all, the main use of the AppImage is to enable it to run on all linux distros.
Currently the AppImage only works in Debian-like distros, because all library paths are dynamically linked but with fixed paths.
This results in problems wenn running the AppImage on NixOS where all libraries are in the nix store, so the paths from the AppImage are never found.
I tried setting my rust target to linux-musl, but some transitive dependencies dont support this target.
Beta Was this translation helpful? Give feedback.
All reactions