2020-07-25 10:48:29 +02:00
|
|
|
cargo-features = ["named-profiles"]
|
|
|
|
|
2020-09-08 23:17:58 +02:00
|
|
|
[workspace]
|
|
|
|
|
2020-07-21 16:32:24 +02:00
|
|
|
[package]
|
2020-07-21 17:08:46 +02:00
|
|
|
name = "no_std_test"
|
2020-07-21 16:32:24 +02:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
authors = ["Stephen Chung"]
|
2020-07-21 17:08:46 +02:00
|
|
|
description = "no-std test application"
|
2021-01-07 10:30:06 +01:00
|
|
|
homepage = "https://github.com/rhaiscript/rhai/tree/no_std/no_std_test"
|
|
|
|
repository = "https://github.com/rhaiscript/rhai"
|
2020-07-21 16:32:24 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2021-03-30 12:06:58 +02:00
|
|
|
rhai = { path = "../../", features = [ "no_std" ], default_features = false }
|
2020-07-21 16:32:24 +02:00
|
|
|
wee_alloc = { version = "0.4.5", default_features = false }
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = "z" # optimize for size
|
|
|
|
debug = false
|
|
|
|
rpath = false
|
|
|
|
debug-assertions = false
|
|
|
|
panic = "abort"
|
2021-07-01 12:44:01 +02:00
|
|
|
codegen-units = 1
|
2020-07-25 10:48:29 +02:00
|
|
|
lto = true
|