rustshop / flakebox

Flakebox is to your Rust project dev environment, what NixOS is to your OS, or home-manager to your home directory.
103 stars 7 forks source link

Fixing mold linking error #142

Closed SilentVoid13 closed 6 months ago

SilentVoid13 commented 6 months ago

I had some linking errors when trying to execute a compiled binary after updating to the latest version of flakebox.

It looks like the new mkTarget doesn't use mold-wrapped, resulting in a compiled binary that doesn't know where to find dynamic libraries.

dpc commented 6 months ago

Oh yeah, sorry about that. I think I had a fix and forgot to push.

dpc commented 6 months ago

Thanks. And if you can figure out stuff like that, I encourage contributing. I can always use some help. :D

I did recently a big refactor splitting concepts of "toolchain matrix" and "targets", and didn't really have time to polish everything afterwards.