1
0
Fork 0
forked from fun/fun

What is CPP? Holy shit... (0.38.4)

This commit is contained in:
Johannes Findeisen 2026-01-29 05:09:15 +01:00
commit d79815e366
10 changed files with 158 additions and 4 deletions

2
examples/rust_vm_access.fun Normal file → Executable file
View file

@ -23,7 +23,7 @@ print("[Rust VM access demo]")
print("vm.sp (from Rust) = " + to_string(rust_get_sp()))
/* Write vm.exit_code via Rust (not directly observable without VM inspection) */
print("Setting vm.exit_code to 5 via Rust...")
print("Setting vm.exit_code to 42 via Rust...")
rust_set_exit(42)
print("Now exiting...")