This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time: 0.000; rss: 33MB -> 33MB ( +0MB) parse_crate | |
time: 0.000; rss: 34MB -> 34MB ( +0MB) plugin_loading | |
time: 0.000; rss: 34MB -> 35MB ( +1MB) setup_global_ctxt | |
time: 0.000; rss: 36MB -> 36MB ( +0MB) crate_injection | |
time: 0.026; rss: 36MB -> 64MB ( +27MB) expand_crate | |
time: 0.026; rss: 36MB -> 64MB ( +28MB) macro_expand_crate | |
time: 0.001; rss: 64MB -> 64MB ( +0MB) AST_validation | |
time: 0.000; rss: 64MB -> 64MB ( +0MB) finalize_imports | |
time: 0.000; rss: 64MB -> 64MB ( +0MB) compute_effective_visibilities | |
time: 0.000; rss: 64MB -> 64MB ( +0MB) finalize_macro_resolutions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::{ | |
fs::{read_dir, DirEntry}, | |
path::Path, | |
}; | |
const DIRECTORY: &'static str = "<ENTER YOUR TARGET PATH>"; | |
const FILE_EXT: &'static str = ".rs"; | |
fn main() { | |
let mut source_files = vec![]; |