about summary refs log tree commit diff
path: root/src/librustc/util/common.rs
AgeCommit message (Collapse)AuthorLines
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-71/+0
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-1/+1
2020-01-09refactor 'Output = $ty' & reduce rustc depMazdak Farrokhzad-5/+0
2020-01-05Use self profile infrastructure for -Z time and -Z time-passesJohn Kåre Alsaker-133/+0
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2019-12-22Format the worldMark Rousskov-16/+28
2019-12-03Move duration_to_secs_str to rustc_sessionMark Rousskov-9/+1
2019-11-26Move ErrorReported to rustc_errorsMark Rousskov-5/+1
2019-10-03Remove -Zprofile-queriesMark Rousskov-73/+2
2019-09-25Remove unused DepTrackingMapMark Rousskov-39/+2
2019-08-30Move librustc panic handler into the new oneJonas Schievink-37/+0
2019-08-02librustc: Unconfigure tests during normal buildVadim Petrochenkov-13/+3
2019-07-05Add a "total" measurement to -Ztime-passes.Nicholas Nethercote-13/+1
This is useful for getting the total compilation time at the end. To do this, the patch changes `print_time_passes_entry` to not increment the depth, which means that `print_time_passes_entry_internal` is no longer needed.
2019-06-05Aggregation of drive-by cosmetic changes.Alexander Regueiro-24/+24
2019-05-17Change `rustc::util::common::FN_OUTPUT_NAME` to a `Symbol`.Nicholas Nethercote-1/+2
2019-04-03Deny internal lints in librustcflip1995-5/+4
2019-03-13Use derive macro for HashStableJohn Kåre Alsaker-1/+2
2019-02-10rustc: doc commentsAlexander Regueiro-4/+4
2019-02-05move librustc to 2018Mark Mansi-3/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-12-04cleanup: remove static lifetimes from constsljedrz-1/+1
2018-11-30proc_macro: introduce a "bridge" between clients (proc macros) and servers ↵Eduard-Mihai Burtescu-8/+5
(compiler front-ends).
2018-09-29don't elide lifetimes in paths in librustc/Zack M. Davis-2/+2
This seemed like a good way to kick the tires on the elided-lifetimes-in-paths lint (#52069)—seems to work! This was also pretty tedious—it sure would be nice if `cargo fix` worked on this codebase (#53896)!
2018-08-29Replace usages of 'bad_style' with 'nonstandard_style'.Corey Farwell-1/+1
`bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵Matthias Krüger-1/+1
or "".into()
2018-08-09Move path2cstr to rustc_fs_utilMark Rousskov-15/+0
2018-07-29Auto merge of #52767 - ljedrz:avoid_format, r=petrochenkovbors-1/+1
Prefer to_string() to format!() Simple benchmarks suggest in some cases it can be faster by even 37%: ``` test converting_f64_long ... bench: 339 ns/iter (+/- 199) test converting_f64_short ... bench: 136 ns/iter (+/- 34) test converting_i32_long ... bench: 87 ns/iter (+/- 16) test converting_i32_short ... bench: 87 ns/iter (+/- 49) test converting_str ... bench: 54 ns/iter (+/- 15) test formatting_f64_long ... bench: 349 ns/iter (+/- 176) test formatting_f64_short ... bench: 145 ns/iter (+/- 14) test formatting_i32_long ... bench: 98 ns/iter (+/- 14) test formatting_i32_short ... bench: 93 ns/iter (+/- 15) test formatting_str ... bench: 86 ns/iter (+/- 23) ```
2018-07-27Use str::repeatShotaro Yamada-2/+1
2018-07-27Prefer to_string() to format!()ljedrz-1/+1
2018-05-05Misc tweaksJohn Kåre Alsaker-0/+11
2018-04-27Move query functions out from the define_maps! macroJohn Kåre Alsaker-1/+7
2018-04-10Make PerfStats thread-safe and remove unused fieldsJohn Kåre Alsaker-12/+5
2018-04-06Print query stack on ICEsJohn Kåre Alsaker-1/+9
2018-03-30Rename fs::read_string to read_to_string and stabilizeMatt Brubeck-1/+2
2018-03-13add handy helper for Cell<usize>, used for perf statsNiko Matsakis-0/+10
2018-03-09Move PROFQ_CHAN to a Session fieldJohn Kåre Alsaker-30/+32
2018-03-02Run Rustfix on librustcManish Goregaokar-1/+1
2018-02-20Do not run the default panic hook inside procedural macros. Fixes #47812John Kåre Alsaker-0/+21
2018-01-10Use the new fs_read_write functions in rustc internalsMatt Brubeck-5/+2
2017-12-20incr.comp.: Cache check_match query.Michael Woerister-1/+1
2017-12-09Use Try syntax for Option in place of macros or matchMatt Brubeck-10/+4
2017-09-23Compress "small" spans to 32 bits and intern "large" spansVadim Petrochenkov-2/+3
2017-08-23-Z profile-queries includes dep_graph.with_task uses in outputMatthew Hammer-1/+6
2017-08-23-Z profile-queries: remove panic when channel is unsetMatthew Hammer-1/+6
2017-08-23profiling with -Z profile-queries recognizes -Z time-passesMatthew Hammer-1/+11
2017-08-23inc comp: -Z profile-queries support; see also ↵Matthew Hammer-0/+57
https://github.com/rust-lang-nursery/rust-forge/blob/master/profile-queries.md
2017-08-12Fix some typosBastien Orivel-1/+1
2017-07-31async-llvm(25): Restore -Ztime-passes output for trans and LLVM.Michael Woerister-5/+27
2017-07-12integrate anon dep nodes into trait selectionNiko Matsakis-4/+2