Is musl supported?? #20182
Replies: 4 comments 4 replies
|
also on alpine linux it says that by installing |
|
It works fine for me with this patch ported from #34977 --- a/crates/livekit_client/src/lib.rs
+++ b/crates/livekit_client/src/lib.rs
@@ -3,16 +3,46 @@ use collections::HashMap;
mod remote_video_track_view;
pub use remote_video_track_view::{RemoteVideoTrackView, RemoteVideoTrackViewEvent};
-#[cfg(not(any(test, feature = "test-support", target_os = "freebsd")))]
+#[cfg(not(any(
+ test,
+ feature = "test-support",
+ all(target_os = "windows", target_env = "gnu"),
+ all(target_os = "linux", target_env = "musl"),
+ target_os = "freebsd"
+)))]
mod livekit_client;
-#[cfg(not(any(test, feature = "test-support", target_os = "freebsd")))]
+#[cfg(not(any(
+ test,
+ feature = "test-support",
+ all(target_os = "windows", target_env = "gnu"),
+ all(target_os = "linux", target_env = "musl"),
+ target_os = "freebsd"
+)))]
pub use livekit_client::*;
-#[cfg(any(test, feature = "test-support", target_os = "freebsd"))]
+#[cfg(any(
+ test,
+ feature = "test-support",
+ all(target_os = "windows", target_env = "gnu"),
+ all(target_os = "linux", target_env = "musl"),
+ target_os = "freebsd"
+))]
mod mock_client;
-#[cfg(any(test, feature = "test-support", target_os = "freebsd"))]
+#[cfg(any(
+ test,
+ feature = "test-support",
+ all(target_os = "windows", target_env = "gnu"),
+ all(target_os = "linux", target_env = "musl"),
+ target_os = "freebsd"
+))]
pub mod test;
-#[cfg(any(test, feature = "test-support", target_os = "freebsd"))]
+#[cfg(any(
+ test,
+ feature = "test-support",
+ all(target_os = "windows", target_env = "gnu"),
+ all(target_os = "linux", target_env = "musl"),
+ target_os = "freebsd"
+))]
pub use mock_client::*;
#[derive(Debug, Clone)]
--
2.50.1 |
|
Thanks for reaching out. We want to better support our community, and the best way for us to do that is through our official Discord. The team is active there and happy to help. We’re closing the “Help and General Q&A” category on GitHub Discussions and directing all support questions to Discord going forward. |
|
Now there is a musl compatible fork of Zed maintained on Alpine repos: Gram Gram has some differences (some additional privacy features but no llm support are some examples) In any case the maintained Alpine APKBUILD https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/gram/APKBUILD Enrico |
Uh oh!
There was an error while loading. Please reload this page.
Check for existing issues
Describe the feature
Explain clearly on linux support page if musl libc is supported?
Either dynamically linked or statically linked. At the moment there are no mentions in the docs/pages about that.
#19803 makes me think Zed is depending on musl
but #15902 indicate it fails to compile on Chimera linux (musl+llvm)
There are a bunch of issues on musl with remote server: #18088
#19813 makes me think the builds being shared are statically linked to musl.
Its the great fare-west and its confusing.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
All reactions