Update skeleton

This commit is contained in:
Jeehoon Kang
2020-04-23 22:41:48 +09:00
parent 9917ffcbd5
commit 073a65ae53
15 changed files with 889 additions and 199 deletions

View File

@@ -28,13 +28,14 @@ cargo run --release -- examples/fibonacci.c # compile with release build
## Test
```
cargo test # debug build test
cargo test --release # release build test
RUST_MIN_STACK=8388608 cargo test # debug build test
RUST_MIN_STACK=8388608 cargo test --release # release build test
cargo test <test-name> # run a particular test
RUST_MIN_STACK=8388608 cargo test <test-name> # run a particular test
```
`<test-name>` can be `test_examples_write_c`, `test_examples_irgen`, ...
`RUST_MIN_STACK=8388608` is necessary for deep call stack for irgen tests. `<test-name>` can be
`test_examples_write_c`, `test_examples_irgen`, ...
## Fuzzing