rhai/no_std/no_std_test/README.md

21 lines
474 B
Markdown
Raw Normal View History

2020-07-21 17:08:46 +02:00
`no-std` Test Sample
====================
2020-07-21 16:32:24 +02:00
2020-07-21 17:08:46 +02:00
This sample application is a bare-bones `no-std` build for testing.
2020-07-21 16:32:24 +02:00
[`wee_alloc`](https://crates.io/crates/wee_alloc) is used as the allocator.
To Compile
----------
The nightly compiler is required:
```bash
cargo +nightly build --release --profile unix -Z unstable-features
2020-07-21 16:32:24 +02:00
```
Available profiles are: `unix`, `windows` and `macos`.
2020-07-21 16:32:24 +02:00
The release build is optimized for size. It can be changed to optimize on speed instead.