Module rustc::util::common [−][src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Re-exports
use rustc_data_structures::sync::Lock; |
use std::cell::RefCell; |
use std::cell::Cell; |
use std::collections::HashMap; |
use std::ffi::CString; |
use std::fmt::Debug; |
use std::hash::Hash; |
use std::hash::BuildHasher; |
use std::iter::repeat; |
use std::panic; |
use std::env; |
use std::path::Path; |
use std::time::Duration; |
use std::time::Instant; |
use std::sync::mpsc::Sender; |
use syntax_pos::SpanData; |
use ty::TyCtxt; |
use dep_graph::DepNode; |
use proc_macro; |
use lazy_static; |
use session::Session; |
Structs
| DEFAULT_HOOK |
[ Experimental ]
|
| ErrorReported |
[ Experimental ]
|
| Indenter |
[ Experimental ]
|
| ProfQDumpParams |
[ Experimental ] Parameters to the |
| QueryMsg |
[ Experimental ]
|
Enums
| ProfileQueriesMsg |
[ Experimental ] A sequence of these messages induce a trace of query-based incremental compilation. FIXME(matthewhammer): Determine whether we should include cycle detection here or not. |
Constants
| FN_OUTPUT_NAME |
[ Experimental ]
|
| TIME_DEPTH |
[ Experimental ]
|
Statics
| DEFAULT_HOOK |
[ Experimental ]
|
Traits
| MemoizationMap |
[ Experimental ]
|
Functions
| duration_to_secs_str |
[ Experimental ]
|
| get_resident |
[ Experimental ]
|
| indent |
[ Experimental ]
|
| indenter |
[ Experimental ]
|
| install_panic_hook |
[ Experimental ]
|
| panic_hook |
[ Experimental ]
|
| path2cstr |
[ Experimental ]
|
| print_time_passes_entry |
[ Experimental ]
|
| print_time_passes_entry_internal |
[ Experimental ]
|
| profq_msg |
[ Experimental ] If enabled, send a message to the profile-queries thread |
| profq_set_chan |
[ Experimental ] Set channel for profile queries channel |
| record_time |
[ Experimental ]
|
| set_time_depth |
[ Experimental ] Set the current depth of |
| time |
[ Experimental ]
|
| time_depth |
[ Experimental ] Read the current depth of |
| time_ext |
[ Experimental ]
|
| to_readable_str |
[ Experimental ]
|