Closed tjallingt closed 2 days ago
Are you sure you're using cross 0.2.5 on your own setup? Might be a problem fixed on the main branch not yet released
You are 100% right, i used cargo install cross --git https://github.com/cross-rs/cross
to install cross locally and that one worked.
Using cargo-binstall
to install version 0.2.5
locally and rerunning produces the same error.
I'm sorry for wasting some time here (and thanks to whoever fixed the install/linker issue on main, i hope it gets released soon :) )
Checklist
Describe your issue
I'm trying to compile an SLint application using cross for
aarch64-unknown-linux-gnu
. Slint requires some libraries to be installed so it can be linked against them. I can successfully install these libraries using thepre-build
option inCross.toml
.This all works when I run
cross
on my windows computer but when I try to build the application in Github Actions it stops working because of a linker error:See the job output here https://github.com/tjallingt/slint-test/actions/runs/9793794798/job/27042468372
What target(s) are you cross-compiling for?
aarch64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
v0.2.5
Example
The entire sample application can be found here: https://github.com/tjallingt/slint-test
Additional information / notes
No response