···55 RUSTFLAGS = "-Ccodegen-units=10";
5657 # We need rust to build rust. If we don't provide it, configure will try to download it.
058 configureFlags = configureFlags
59 ++ [ "--enable-local-rust" "--local-rust-root=${rustPlatform.rust.rustc}" "--enable-rpath" ]
60 ++ [ "--enable-vendor" ]
···102103 # Useful debugging parameter
104 # export VERBOSE=1
105- ''
106- + optionalString stdenv.isDarwin ''
107 # Disable all lldb tests.
108 # error: Can't run LLDB test because LLDB's python path is not set
109 rm -vr src/test/debuginfo/*
···55 RUSTFLAGS = "-Ccodegen-units=10";
5657 # We need rust to build rust. If we don't provide it, configure will try to download it.
58+ # Reference: https://github.com/rust-lang/rust/blob/master/src/bootstrap/configure.py
59 configureFlags = configureFlags
60 ++ [ "--enable-local-rust" "--local-rust-root=${rustPlatform.rust.rustc}" "--enable-rpath" ]
61 ++ [ "--enable-vendor" ]
···103104 # Useful debugging parameter
105 # export VERBOSE=1
106+ '' + optionalString stdenv.isDarwin ''
0107 # Disable all lldb tests.
108 # error: Can't run LLDB test because LLDB's python path is not set
109 rm -vr src/test/debuginfo/*