mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Increase the suggested stack size to 32MB
This commit is contained in:
26
README.md
26
README.md
@@ -31,26 +31,26 @@ cargo run --release -- examples/c/fibonacci.c # compile with release build
|
|||||||
## Test
|
## Test
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
RUST_MIN_STACK=8388608 cargo test # debug build test
|
RUST_MIN_STACK=33554432 cargo test # debug build test
|
||||||
RUST_MIN_STACK=8388608 cargo test --release # release build test
|
RUST_MIN_STACK=33554432 cargo test --release # release build test
|
||||||
|
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_write_c # run write_c test
|
RUST_MIN_STACK=33554432 cargo test test_examples_write_c # run write_c test
|
||||||
|
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_irgen_small # run irgen test using a small subset of examples
|
RUST_MIN_STACK=33554432 cargo test test_examples_irgen_small # run irgen test using a small subset of examples
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_irgen # run irgen test
|
RUST_MIN_STACK=33554432 cargo test test_examples_irgen # run irgen test
|
||||||
|
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_simplify_cfg # run simplify_cfg test
|
RUST_MIN_STACK=33554432 cargo test test_examples_simplify_cfg # run simplify_cfg test
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_mem2reg # run mem2reg test
|
RUST_MIN_STACK=33554432 cargo test test_examples_mem2reg # run mem2reg test
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_deadcode # run deadcode test
|
RUST_MIN_STACK=33554432 cargo test test_examples_deadcode # run deadcode test
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_gvn # run gvn test
|
RUST_MIN_STACK=33554432 cargo test test_examples_gvn # run gvn test
|
||||||
|
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_asmgen_small # run asmgen test using a small subset of examples
|
RUST_MIN_STACK=33554432 cargo test test_examples_asmgen_small # run asmgen test using a small subset of examples
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_asmgen # run asmgen test
|
RUST_MIN_STACK=33554432 cargo test test_examples_asmgen # run asmgen test
|
||||||
|
|
||||||
RUST_MIN_STACK=8388608 cargo test test_examples_end_to_end # run irgen, optimize and asmgen pipeline test
|
RUST_MIN_STACK=33554432 cargo test test_examples_end_to_end # run irgen, optimize and asmgen pipeline test
|
||||||
```
|
```
|
||||||
|
|
||||||
`RUST_MIN_STACK=8388608` is necessary for deep call stack for irgen tests.
|
`RUST_MIN_STACK=33554432` is necessary for deep call stack for irgen tests.
|
||||||
|
|
||||||
|
|
||||||
## Fuzzing
|
## Fuzzing
|
||||||
|
|||||||
Reference in New Issue
Block a user