summaryrefslogtreecommitdiff
path: root/vsproject/build_std_and_hello.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'vsproject/build_std_and_hello.cmd')
-rw-r--r--vsproject/build_std_and_hello.cmd12
1 files changed, 12 insertions, 0 deletions
diff --git a/vsproject/build_std_and_hello.cmd b/vsproject/build_std_and_hello.cmd
new file mode 100644
index 00000000..db8360ac
--- /dev/null
+++ b/vsproject/build_std_and_hello.cmd
@@ -0,0 +1,12 @@
+@echo off
+x64\Release\minicargo.exe ..\rustc-1.19.0-src\src\libstd --script-overrides ..\script-overrides\stable-1.19.0
+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
+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
+if %errorlevel% neq 0 exit /b %errorlevel%
+
+x64\Release\mrustc.exe ..\rustc-1.19.0-src\src\test\run-pass\hello.rs -L output -o output\hello.exe -g
+if %errorlevel% neq 0 exit /b %errorlevel%
+output\hello.exe
+if %errorlevel% neq 0 exit /b %errorlevel%