Closed jean-airoldie closed 9 months ago
I suspect you may need to disable feature that statically links the crt, which the musl
target enables by default. Something along the lines of -Ctarget-feature=-crt-static
,
No, I meant to link against musl statically, but I didn't understand the implications with respect to dlopen. I found this thread that goes into details into how this is possible but very dumb. I guess that makes c runtime static linking out of the question for my use case.
Issue Description
Running the tests on the master branch fails with a linking error when using musl:
My System
I'm running Debian 11 with
kernel version 5.10.0-26-amd64
and all the required packages to build musl. My rust compiler version is1.76.0-nightly (21cce21d8 2023-12-11)
.Related issue https://github.com/rust-windowing/glutin/issues/1651