Merge pull request #278671 from plietar/fix-rustc-cross
rustc: Fix building cross-compilers for no_std targets.
This commit is contained in:
commit
3e2503b324
@ -159,7 +159,7 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
ln -s ${rustc.unwrapped}/bin/rustc build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-rustc/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/rustc-main
|
||||
touch build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-std/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/.libstd.stamp
|
||||
touch build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-rustc/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/.librustc.stamp
|
||||
python ./x.py --keep-stage=0 --stage=1 build library/std
|
||||
python ./x.py --keep-stage=0 --stage=1 build library
|
||||
|
||||
runHook postBuild
|
||||
" else null;
|
||||
|
Loading…
Reference in New Issue
Block a user