Hi there,
I've been working on creating a nice wrapper around the nrf modem library in Rust. Currently can be found here: https://github.com/diondokter/nrf-modem
When I started I used nrfxlib version 2.0.1 and that worked just fine. There have been a couple of updates so I wanted to update the library.
So I moved it to version 2.1.3 (https://github.com/nrfconnect/sdk-nrfxlib/tree/10016b0a74653692034eded56022cefc63a9eb86).
But now when I try to link to it I get the following error
rust-lld: error: /Users/martin/repos/nrf91-2.0.1-test/target/thumbv8m.main-none-eabihf/debug/deps/libnrfxlib_sys-38b63c27fefa3532.rlib(rpc_transport_ipc.c.obj):(.debug_macro) is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib support
Apparently something is built with some sort of compression turned on and the default Rust linker on both Windows and Mac don't support that.
Linking on Linux does seem to work though.
Is there a workaround?
Is this a deliberate change that will stay?
Or am I on an unofficial version? (It doesn't have a tag)