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
= note: /target/x86_64-unknown-linux-gnu/release/deps/libnix-f82b5b7b4f999979.rlib(nix-f82b5b7b4f999979.nix.b4d0d405151210f5-cgu.04.rcgu.o): In function `nix::sys::memfd::memfd_create::hcab24415e5acb3e8':
nix.b4d0d405151210f5-cgu.04:(.text._ZN3nix3sys5memfd12memfd_create17hcab24415e5acb3e8E+0x5): undefined reference to `memfd_create'
collect2: error: ld returned 1 exit status
memfd_create requires a newer glibc than what cross 0.2.5 provides by default. You need to use cross from the main branch or specify a newer image to use.
also, be advised that actions-rs is not maintained.
So, either install cross from the main branch with cargo install cross --git https://github.com/cross-rs/cross or specify a newer image in Cross.toml
At the moment, it appears that musl targets are not working:
rust-windowing/winit#1818
To use gnu, it's necessary to use glib 2.27, for that, cross need to be
installed manually from development branch:
cross-rs/cross#1510
---------
Signed-off-by: Patrick José Pereira <[email protected]>
It works fine using
cargo build
locally.Reference: https://github.com/patrickelectric/eframe_template/actions/runs/9419742036/job/25950196145#step:5:786
The text was updated successfully, but these errors were encountered: