Add no_std_repl sample.
This commit is contained in:
20
no_std/no_std_repl/README.md
Normal file
20
no_std/no_std_repl/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
`no-std` REPL Sample
|
||||
====================
|
||||
|
||||
This sample application is the same version as the `rhai-repl` tool, compiled for `no-std`.
|
||||
|
||||
[`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
|
||||
```
|
||||
|
||||
Available profiles are: `unix`, `windows` and `macos`.
|
||||
|
||||
The release build is optimized for size. It can be changed to optimize on speed instead.
|
Reference in New Issue
Block a user