mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
cgen, ci: fix closures on s390x, ppc64le, loongarch64 platforms, add test to s390x CI (#25047)
This commit is contained in:
parent
1d7b5070bd
commit
ad9617d358
2 changed files with 4 additions and 0 deletions
1
.github/workflows/s390x_linux_ci.yml
vendored
1
.github/workflows/s390x_linux_ci.yml
vendored
|
@ -47,3 +47,4 @@ jobs:
|
||||||
file ./v
|
file ./v
|
||||||
ls -la ./v
|
ls -la ./v
|
||||||
./v test vlib/builtin vlib/os vlib/encoding/binary
|
./v test vlib/builtin vlib/os vlib/encoding/binary
|
||||||
|
./v test vlib/v/tests/fns/closure_test.v
|
||||||
|
|
|
@ -1359,6 +1359,9 @@ fn (mut g Gen) comptime_if_to_ifdef(name string, is_comptime_option bool) !strin
|
||||||
'rv64', 'riscv64' {
|
'rv64', 'riscv64' {
|
||||||
return '__V_rv64'
|
return '__V_rv64'
|
||||||
}
|
}
|
||||||
|
'rv32', 'riscv32' {
|
||||||
|
return '__V_rv32'
|
||||||
|
}
|
||||||
's390x' {
|
's390x' {
|
||||||
return '__V_s390x'
|
return '__V_s390x'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue