mrustc-bootstrap: Document workarounds

This commit is contained in:
Val Lorentz 2023-04-16 21:59:07 +02:00
parent 70455de76d
commit 9faa070404
2 changed files with 4 additions and 1 deletions

View file

@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
makeFlags = [
# Use shared mrustc/minicargo/llvm instead of rebuilding them
"MRUSTC=${mrustc}/bin/mrustc"
#"MINICARGO=${mrustc-minicargo}/bin/minicargo" # FIXME: uncomment this so minicargo doesn't get rebuilt
#"MINICARGO=${mrustc-minicargo}/bin/minicargo" # FIXME: we need to rebuild minicargo locally so --manifest-overrides is applied
"LLVM_CONFIG=${llvm_12.dev}/bin/llvm-config"
"RUSTC_TARGET=${rust.toRustTarget stdenv.targetPlatform}"
];

View file

@ -1,3 +1,6 @@
The $(RUSTC_SRC_DL) file already exists, but for some reason Make wants to rebuild
this target when it has $(RUSTC_SRC_TARBALL) as a dependency.
--- a/minicargo.mk 2023-04-06 08:26:18.408817572 +0200
+++ b/minicargo.mk 2023-04-06 08:27:11.553536996 +0200
@@ -176,7 +176,7 @@