brk_rolldown_debug 0.0.1

brk fork of rolldown_debug
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::sync::Arc;

use dashmap::DashMap;
use rustc_hash::FxHashSet;

pub static OPENED_FILE_HANDLES: std::sync::LazyLock<DashMap<Arc<str>, std::fs::File>> =
  std::sync::LazyLock::new(DashMap::new);

pub static OPENED_FILES_BY_SESSION: std::sync::LazyLock<DashMap<String, FxHashSet<Arc<str>>>> =
  std::sync::LazyLock::new(DashMap::new);

pub static DEFAULT_SESSION_ID: &str = "0000000000000";