1
0
Fork 0
forked from fun/fun

Added Rust support to the Fun core. (0.38.0)

This commit is contained in:
Johannes Findeisen 2026-01-27 04:26:54 +01:00
commit 149e135318
12 changed files with 299 additions and 1 deletions

16
src/rust/Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "hello-c-world"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["staticlib"]
[profile.release]
panic = "abort"
# Optimize for minimal size
opt-level = "z"
codegen-units = 1
lto = true
# If Cargo is new enough, this strips symbols from Rust objects
strip = "symbols"