Browse Source

mark riscv rustc

pull/1/head
parent
commit
e9b005d50a
  1. 1
      derivations.nix

1
derivations.nix

@ -21,6 +21,7 @@ rec {
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
});
rustc = (pkgs.rustc.overrideAttrs(oa: {
name = oa.name + "-riscv";
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
})).override { inherit llvm_7; };
rust-riscv32i-crates = pkgs.callPackage ./compilers/rust-riscv32i-crates.nix { inherit rustc; };

Loading…
Cancel
Save