Merge commit '3a9bf72932
' into sync_cg_clif-2023-12-19
This commit is contained in:
commit
d5c38ded26
13 changed files with 223 additions and 115 deletions
12
compiler/rustc_codegen_cranelift/y.ps1
Normal file
12
compiler/rustc_codegen_cranelift/y.ps1
Normal file
|
@ -0,0 +1,12 @@
|
|||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$host.ui.WriteErrorLine("[BUILD] build system")
|
||||
New-Item -ItemType Directory -Force -Path build | Out-Null
|
||||
& rustc build_system/main.rs -o build\y.exe -Cdebuginfo=1 --edition 2021
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
& build\y.exe $args
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue