mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Move solve and uniq tests into other crates
This commit is contained in:
parent
d8cf402528
commit
a2f5f6f9fb
21 changed files with 910 additions and 47 deletions
17
compiler/uniq/src/lib.rs
Normal file
17
compiler/uniq/src/lib.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
#![warn(clippy::all, clippy::dbg_macro)]
|
||||
// I'm skeptical that clippy:large_enum_variant is a good lint to have globally enabled.
|
||||
//
|
||||
// It warns about a performance problem where the only quick remediation is
|
||||
// to allocate more on the heap, which has lots of tradeoffs - including making it
|
||||
// long-term unclear which allocations *need* to happen for compilation's sake
|
||||
// (e.g. recursive structures) versus those which were only added to appease clippy.
|
||||
//
|
||||
// Effectively optimizing data struture memory layout isn't a quick fix,
|
||||
// and encouraging shortcuts here creates bad incentives. I would rather temporarily
|
||||
// re-enable this when working on performance optimizations than have it block PRs.
|
||||
#![allow(clippy::large_enum_variant)]
|
||||
|
||||
pub use roc_can::expr::Expr::*;
|
||||
|
||||
pub mod builtins;
|
||||
pub mod sharing;
|
Loading…
Add table
Add a link
Reference in a new issue