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

38 lines
740 B
Markdown

---
layout: page
published: true
noToc: true
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:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
---
# rust_hello_args.fun — overview
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.