mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
fix reporting tests
This commit is contained in:
parent
11da96b286
commit
49408d3a56
3 changed files with 11 additions and 122 deletions
|
@ -4,7 +4,7 @@ use crossbeam::channel::{bounded, Sender};
|
|||
use crossbeam::deque::{Injector, Stealer, Worker};
|
||||
use crossbeam::thread;
|
||||
use parking_lot::Mutex;
|
||||
use roc_builtins::std::{standard_stdlib, StdLib};
|
||||
use roc_builtins::std::{borrow_stdlib, StdLib};
|
||||
use roc_can::constraint::{Constraint as ConstraintSoa, Constraints};
|
||||
use roc_can::def::Declaration;
|
||||
use roc_can::module::{canonicalize_module_defs, Module};
|
||||
|
@ -73,12 +73,6 @@ macro_rules! log {
|
|||
($($arg:tt)*) => (if SHOW_MESSAGE_LOG { println!($($arg)*); } else {})
|
||||
}
|
||||
|
||||
static mut STDLIB: Option<StdLib> = None;
|
||||
|
||||
fn borrow_stdlib() -> &'static StdLib {
|
||||
unsafe { &mut STDLIB }.get_or_insert_with(standard_stdlib)
|
||||
}
|
||||
|
||||
/// Struct storing various intermediate stages by their ModuleId
|
||||
#[derive(Debug, Default)]
|
||||
struct ModuleCache<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue