Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 984 Bytes

CONTRIBUTING.md

File metadata and controls

21 lines (14 loc) · 984 Bytes

Contributing

Building

TL;DR: use build.sh.

Tests

  • Tests of the Rust code live in src/ and can be run as usual with cargo test.
  • Tests of the compiler on Grace code that do not actually run the code are in tests/. Individual files can be run with cargo test --test $NAME_OF_FILE.
  • Full output tests must run in a JS environment, and live in js_test/. Tests are run using jest. Tests of the Rust code live in src/ and can be run as usual with cargo test.

Tests of the compiler on Grace code that do not actually run the code are in tests/. As the name suggests these are mostly used for benchmarking the compiler.

Full output tests must run in a JS environment, and live in js_test/. Tests are run using jest.

Coverage

TL;DR: use coverage.sh and rust nightly.

Profiling

flamegraph is currently used for profiling.