Rust: Difference between revisions

imported>GuillaumeDesforges
m libvmi is broken on nixpkgs because `xen` is marked as insecure oftentime, so it makes newcomers face an issue which is too hard to fix alone for a beginner, even though `libvmi` is not required to build a minimal rust package generated with `cargo init`.
imported>Nilstrieb
m Add note about using the latest llvmPackages. llvmPackages as at LLVM 11, which is outdated and caused LLD segfaults for me when running the test suite for rust-lang/rust. llvmPackages_16 worked just fine.
Line 33: Line 33:
     buildInputs = with pkgs; [
     buildInputs = with pkgs; [
       clang
       clang
      # Replace llvmPackages with llvmPackages_X, where X is the latest LLVM version (at the time of writing, 16)
       llvmPackages.bintools
       llvmPackages.bintools
       rustup
       rustup