You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For other systems there appears to already be a fallback alternative.
Unfortunately, this creates a dependency on glibc > 2.26, which makes this incompatible with the conda build environment, forcing us to disable wayland support for those builds.
Given the minimal scope and existing fallback this seems like it could be a good candidate for a feature flag instead so we could avoid using it on platforms with an older glibc.
The text was updated successfully, but these errors were encountered:
So, you're seeing a link error due to glibc not having the memfd_create symbol?
Because I don't think that should happen. (With the latest version of wayland-rs.) rustix should be using direct system calls, unless the use-libc feature is enabled somewhere.
Exactly. We were getting a link error. Thanks for the pointers. I'll check the versions and see if we're using rustix tomorrow -- we might be one version behind.
Right now
memfd_create
appears to be used in a single place gated on certain platforms:wayland-rs/wayland-cursor/src/lib.rs
Lines 439 to 451 in 987c544
For other systems there appears to already be a fallback alternative.
Unfortunately, this creates a dependency on glibc > 2.26, which makes this incompatible with the conda build environment, forcing us to disable wayland support for those builds.
Given the minimal scope and existing fallback this seems like it could be a good candidate for a feature flag instead so we could avoid using it on platforms with an older glibc.
The text was updated successfully, but these errors were encountered: