What is CPP? Holy shit... (0.38.4)
This commit is contained in:
parent
d39ef1a58e
commit
d79815e366
10 changed files with 158 additions and 4 deletions
2
examples/rust_vm_access.fun
Normal file → Executable file
2
examples/rust_vm_access.fun
Normal file → Executable 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...")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue