27 lines
607 B
Markdown
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.
|