Browse Source

rust-riscv32i-crates: disable compiler_builtins

pull/1/head
parent
commit
a0690fe0e2
  1. 2
      compilers/rust-riscv32i-crates.nix

2
compilers/rust-riscv32i-crates.nix

@ -10,9 +10,9 @@ stdenv.mkDerivation {
mkdir -p ''${destdir}
export RUSTC_BOOTSTRAP=1
''${rustc} --crate-name core src/libcore/lib.rs
''${rustc} --crate-name compiler_builtins src/libcompiler_builtins/src/lib.rs --cfg 'feature="compiler-builtins"' --cfg 'feature="mem"'
''${rustc} --crate-name alloc src/liballoc/lib.rs
'';
# ''${rustc} --crate-name compiler_builtins src/libcompiler_builtins/src/lib.rs --cfg 'feature="compiler-builtins"' --cfg 'feature="mem"'
# ''${rustc} --crate-name libc ${./libc_mini.rs}
# ''${rustc} --crate-name unwind src/libunwind/lib.rs
# ''${rustc} --crate-name std src/libstd/lib.rs

Loading…
Cancel
Save