Added Rust support to the Fun core. (0.38.0)
This commit is contained in:
parent
8aa150f8f7
commit
149e135318
12 changed files with 299 additions and 1 deletions
16
src/rust/Cargo.toml
Normal file
16
src/rust/Cargo.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue