Jump to content

Rust: Difference between revisions

24 bytes added ,  26 September 2023
m
Added to the category "Languages"
imported>Annibale
m (Restore carnix reference where mentioned)
imported>IgorM
m (Added to the category "Languages")
Line 327: Line 327:


If you want to use <code>ldd</code>, then the correct way to do this is to use <code>pkgs.llvmPackages.bintools</code>, <em>not</em> <code>pkgs.ldd</code>. This is because the former uses a wrapper script that correctly sets <code>rpath</code>. You can find more information about this [https://matklad.github.io/2022/03/14/rpath-or-why-lld-doesnt-work-on-nixos.html here].
If you want to use <code>ldd</code>, then the correct way to do this is to use <code>pkgs.llvmPackages.bintools</code>, <em>not</em> <code>pkgs.ldd</code>. This is because the former uses a wrapper script that correctly sets <code>rpath</code>. You can find more information about this [https://matklad.github.io/2022/03/14/rpath-or-why-lld-doesnt-work-on-nixos.html here].
[[Category:Languages]]
Anonymous user