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
|
2020-07-25 10:48:29 +02:00
|
|
|
cargo +nightly build --release --profile unix -Z unstable-features
|
2020-07-21 16:32:24 +02:00
|
|
|
```
|
|
|
|
|
2020-07-25 10:48:29 +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.
|