rhai/no_std/no_std_repl
2021-07-08 14:09:31 +08:00
..
src Add no_std_repl sample. 2021-07-08 14:02:38 +08:00
Cargo.toml Add no_std_repl sample. 2021-07-08 14:02:38 +08:00
README.md Enable json command in REPL. 2021-07-08 14:09:31 +08:00

no-std REPL Sample

This sample application is the same version as the rhai-repl tool, compiled for no-std.

wee_alloc is used as the allocator.

To Build

The nightly compiler is required:

cargo +nightly build --release

A specific profile can also be used:

cargo +nightly build --profile unix -Z unstable-options

Three profiles are defined: unix, windows and macos.

The release build is optimized for size. It can be changed to optimize on speed instead.