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

38 lines
744 B
Markdown

---
layout: page
published: true
noToc: true
noComments: false
noDate: false
title: Fun - rust_hello.fun — overview
subtitle: Documentation for rust_hello.fun — overview
description: Documentation for rust_hello.fun — overview
permalink: /documentation/examples/rust_hello/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
---
# rust_hello.fun — overview
What it shows
- Using Rust opcodes from Fun (when built with Rust support).
How to run
- export FUN_LIB_DIR="./lib"
- ./build_debug/fun examples/rust_hello.fun
- Or: fun examples/rust_hello.fun
Notes
- Requires building with FUN_WITH_RUST; otherwise this example will be unavailable.