Add no-std example.
This commit is contained in:
24
no_std/no_std_win/Cargo.toml
Normal file
24
no_std/no_std_win/Cargo.toml
Normal file
@@ -0,0 +1,24 @@
|
||||
[package]
|
||||
name = "no_std_win"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
authors = ["Stephen Chung"]
|
||||
description = "no-std test application for the Windows API"
|
||||
homepage = "https://github.com/jonathandturner/rhai/tree/master/no_std/no_std_win"
|
||||
repository = "https://github.com/jonathandturner/rhai"
|
||||
|
||||
[dependencies]
|
||||
rhai = { path = "../../", features = [ "no_std" ], default_features = false }
|
||||
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
|
||||
lto = "fat"
|
||||
debug-assertions = false
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
Reference in New Issue
Block a user