summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vsproject/build_std.cmd11
-rw-r--r--vsproject/mrustc.vcxproj4
-rw-r--r--vsproject/mrustc.vcxproj.filters4
3 files changed, 11 insertions, 8 deletions
diff --git a/vsproject/build_std.cmd b/vsproject/build_std.cmd
index 0a360614..786648ec 100644
--- a/vsproject/build_std.cmd
+++ b/vsproject/build_std.cmd
@@ -1,9 +1,12 @@
@echo off
-x64\Release\minicargo.exe ..\rustc-1.19.0-src\src\libstd --script-overrides ..\script-overrides\stable-1.19.0
+set RUSTC_VERSION=1.29.0
+set OUTDIR=output-%RUSTC_VERSION%
+mkdir %OUTDIR%
+x64\Release\minicargo.exe ..\rustc-%RUSTC_VERSION%-src\src\libstd --output-dir %OUTDIR% --script-overrides ..\script-overrides\stable-%RUSTC_VERSION%
if %errorlevel% neq 0 exit /b %errorlevel%
-x64\Release\minicargo.exe ..\rustc-1.19.0-src\src\libpanic_unwind --script-overrides ..\script-overrides\stable-1.19.0
+x64\Release\minicargo.exe ..\rustc-%RUSTC_VERSION%-src\src\libpanic_unwind --output-dir %OUTDIR% --script-overrides ..\script-overrides\stable-%RUSTC_VERSION%
if %errorlevel% neq 0 exit /b %errorlevel%
-x64\Release\minicargo.exe ..\rustc-1.19.0-src\src\libtest --script-overrides ..\script-overrides\stable-1.19.0
+x64\Release\minicargo.exe ..\rustc-%RUSTC_VERSION%-src\src\libtest --output-dir %OUTDIR% --script-overrides ..\script-overrides\stable-%RUSTC_VERSION%
if %errorlevel% neq 0 exit /b %errorlevel%
-x64\Release\minicargo.exe ..\lib\libproc_macro
+x64\Release\minicargo.exe ..\lib\libproc_macro --output-dir %OUTDIR%
if %errorlevel% neq 0 exit /b %errorlevel%
diff --git a/vsproject/mrustc.vcxproj b/vsproject/mrustc.vcxproj
index 6cd135f4..6b73a8c8 100644
--- a/vsproject/mrustc.vcxproj
+++ b/vsproject/mrustc.vcxproj
@@ -157,8 +157,8 @@
<ProjectReference />
</ItemDefinitionGroup>
<ItemGroup>
- <ClCompile Include="..\..\mrustc-merge_attempt_one\src\trans\auto_impls.cpp" />
- <ClCompile Include="..\..\mrustc-merge_attempt_one\src\trans\mangling_v2.cpp" />
+ <ClCompile Include="..\src\trans\auto_impls.cpp" />
+ <ClCompile Include="..\src\trans\mangling_v2.cpp" />
<ClCompile Include="..\src\ast\ast.cpp" />
<ClCompile Include="..\src\ast\crate.cpp" />
<ClCompile Include="..\src\ast\dump.cpp" />
diff --git a/vsproject/mrustc.vcxproj.filters b/vsproject/mrustc.vcxproj.filters
index 9d9dbcb4..d94cdca8 100644
--- a/vsproject/mrustc.vcxproj.filters
+++ b/vsproject/mrustc.vcxproj.filters
@@ -386,10 +386,10 @@
<ClCompile Include="..\src\version.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\mrustc-merge_attempt_one\src\trans\auto_impls.cpp">
+ <ClCompile Include="..\src\trans\auto_impls.cpp">
<Filter>Source Files\trans</Filter>
</ClCompile>
- <ClCompile Include="..\..\mrustc-merge_attempt_one\src\trans\mangling_v2.cpp">
+ <ClCompile Include="..\src\trans\mangling_v2.cpp">
<Filter>Source Files\trans</Filter>
</ClCompile>
<ClCompile Include="..\src\hir_conv\resolve_ufcs_outer.cpp">