rust-riscv32i-crates: disable compiler_builtins

This commit is contained in:
Sebastien Bourdeauducq 2019-05-14 19:58:13 +08:00
parent 9e93a9cf39
commit a0690fe0e2

View File

@ -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