mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
delete failing RISC-V test
this backend needs to get further along before it deserves test coverage.
This commit is contained in:
parent
11c715cd5a
commit
ec7f713147
@ -1,21 +0,0 @@
|
||||
pub fn main() void {
|
||||
print();
|
||||
}
|
||||
|
||||
fn print() void {
|
||||
asm volatile ("ecall"
|
||||
:
|
||||
: [number] "{a7}" (64),
|
||||
[arg1] "{a0}" (1),
|
||||
[arg2] "{a1}" (@ptrToInt("Hello, World!\n")),
|
||||
[arg3] "{a2}" ("Hello, World!\n".len),
|
||||
: "rcx", "r11", "memory"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
// run
|
||||
// target=riscv64-linux
|
||||
//
|
||||
// Hello, World!
|
||||
//
|
@ -1,27 +0,0 @@
|
||||
pub fn main() void {
|
||||
print();
|
||||
print();
|
||||
print();
|
||||
print();
|
||||
}
|
||||
|
||||
fn print() void {
|
||||
asm volatile ("ecall"
|
||||
:
|
||||
: [number] "{a7}" (64),
|
||||
[arg1] "{a0}" (1),
|
||||
[arg2] "{a1}" (@ptrToInt("Hello, World!\n")),
|
||||
[arg3] "{a2}" ("Hello, World!\n".len),
|
||||
: "rcx", "r11", "memory"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
// run
|
||||
// target=riscv64-linux
|
||||
//
|
||||
// Hello, World!
|
||||
// Hello, World!
|
||||
// Hello, World!
|
||||
// Hello, World!
|
||||
//
|
Loading…
Reference in New Issue
Block a user