ethereum / ethereum/sonobe

Create custom debug & release profiles for the crate

Open
#135 0 comments 2 reactions 1 assignee Claimed by @CPerezz View on GitHub
common design
Dominant language
Rust
Stars
286
Forks
97
PR merge metrics
No merged PRs in 30d

Description

By customizing the `debug` and `release` profiles we can get ridd of a ton of `#cfg[(test)]` flags as we can make `debug_assert` be triggered inside of `debug` profile while in reality we compile with release settings (for performance such that tests don't take forever).

This should make much easier writting assertions and checks which will be restricted to testing runs only (as testing will be done with debug profile now).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.