.githooks/
compiler/
kernel/
lib/
scripts/
seed/
sublime/
test/
boot/
bootstrap/
compiler/
cycles/
kernel/
job.rad
351 B
machine.ras
919 B
spin.rad
3.9 KiB
support.rad
256 B
dispatch/
format/
host/
integration/
kernel/
loader/
manifests/
mmio/
native/
packages/
runtime/
scheduling/
shared/
slots/
smp/
std/
sync/
termination/
tests/
trap/
verify/
Makefile
9.2 KiB
kernel.rad
776 B
runner.rad
11.6 KiB
vim/
.gitignore
333 B
.gitsigners
224 B
AGENTS.md
8.3 KiB
CONTRIBUTING
2.1 KiB
LICENSE
1.1 KiB
Makefile
2.5 KiB
README
3.4 KiB
STYLE
3.2 KiB
std.lib
2.1 KiB
std.lib.test
1.1 KiB
test/cycles/job.rad
raw
| 1 | //! A private worker instance that exits normally or raises a CPU fault. |
| 2 | export mod support; |
| 3 | export mod abi; |
| 4 | export mod sys; |
| 5 | |
| 6 | /// Check private library state before the selected terminal operation. |
| 7 | @default unsafe fn main(env: *abi::Env) { |
| 8 | assert support::advance() == 1; |
| 9 | if env.argsSize == 0 { |
| 10 | sys::exit(9); |
| 11 | } |
| 12 | assert false; |
| 13 | } |