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]
|
2020-12-30 15:37:22 +01: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
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
2020-07-25 10:48:29 +02:00
|
|
|
|
|
|
|
[profile.unix]
|
|
|
|
inherits = "release"
|
|
|
|
lto = true
|
|
|
|
|
|
|
|
[profile.windows]
|
|
|
|
inherits = "release"
|
|
|
|
|
|
|
|
[profile.macos]
|
|
|
|
inherits = "release"
|
|
|
|
lto = "fat"
|