Merge commit '3270432f4b
' into sync_cg_clif-2024-05-13
This commit is contained in:
commit
75f8bdbca4
31 changed files with 481 additions and 166 deletions
7
compiler/rustc_codegen_cranelift/y.ps1
Normal file → Executable file
7
compiler/rustc_codegen_cranelift/y.ps1
Normal file → Executable file
|
@ -1,12 +1,7 @@
|
|||
$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
|
||||
& cargo run --manifest-path build_system/Cargo.toml -- $args
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue