1
0
Fork 0
forked from fun/fun
fun/web/documentation/examples/rust_hello_args.md

27 lines
607 B
Markdown

---
layout: page
published: true
noToc: false
noComments: false
noDate: false
title: Fun - rust_hello_args.fun — overview
subtitle: Documentation for rust_hello_args.fun — overview
description: Documentation for rust_hello_args.fun — overview
permalink: /documentation/examples/rust_hello_args/
lang: en
tags:
- example
- rust_hello_args
---
What it shows
- Passing arguments into Rust-backed opcodes and handling returns.
How to run
- export FUN_LIB_DIR="./lib"
- ./build_debug/fun examples/rust_hello_args.fun
- Or: fun examples/rust_hello_args.fun
Notes
- Requires building with FUN_WITH_RUST.