rhai/no_std/no_std_test/README.md

21 lines
463 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 --profile unix -Z unstable-options
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.