| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-18 | Rename `Session::span_diagnostic` as `Session::dcx`. | Nicholas Nethercote | -1/+1 | |
| 2023-10-24 | Merge commit '93a5433f17ab5ed48cc88f1e69b0713b16183373' into ↵ | bjorn3 | -8/+15 | |
| sync_cg_clif-2023-10-24 | ||||
| 2023-10-21 | Merge commit 'c07d1e2f88cb3b1a0604ae8f18b478c1aeb7a7fa' into ↵ | bjorn3 | -22/+25 | |
| sync_cg_clif-2023-10-21 | ||||
| 2023-10-09 | Fix review comments | bjorn3 | -1/+1 | |
| 2023-10-09 | Remove cgu_reuse_tracker from Session | bjorn3 | -32/+36 | |
| This removes a bit of global mutable state | ||||
| 2023-10-09 | Reuse determine_cgu_reuse from cg_ssa in cg_clif | bjorn3 | -29/+1 | |
| 2023-10-09 | Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into ↵ | bjorn3 | -4/+2 | |
| sync_cg_clif-2023-10-09 | ||||
| 2023-09-10 | Remove `verbose_generic_activity_with_arg` | John Kåre Alsaker | -26/+15 | |
| 2023-08-09 | rustc: Move `crate_types` from `Session` to `GlobalCtxt` | Vadim Petrochenkov | -1/+1 | |
| Removes a piece of mutable state. Follow up to #114578. | ||||
| 2023-07-22 | Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into ↵ | bjorn3 | -2/+2 | |
| sync_cg_clif-2023-07-22 | ||||
| 2023-07-17 | Introduce `MonoItemData`. | Nicholas Nethercote | -5/+5 | |
| It replaces `(Linkage, Visibility)`, making the code nicer. Plus the next commit will add another field. | ||||
| 2023-06-15 | Merge commit '8830dccd1d4c74f1f69b0d3bd982a3f1fcde5807' into ↵ | bjorn3 | -6/+3 | |
| sync_cg_clif-2023-06-15 | ||||
| 2023-06-04 | Updated cranelift codegen to reflect modified trait signature | Andrew Xie | -2/+2 | |
| 2023-05-03 | Restrict `From<S>` for `{D,Subd}iagnosticMessage`. | Nicholas Nethercote | -2/+2 | |
| Currently a `{D,Subd}iagnosticMessage` can be created from any type that impls `Into<String>`. That includes `&str`, `String`, and `Cow<'static, str>`, which are reasonable. It also includes `&String`, which is pretty weird, and results in many places making unnecessary allocations for patterns like this: ``` self.fatal(&format!(...)) ``` This creates a string with `format!`, takes a reference, passes the reference to `fatal`, which does an `into()`, which clones the reference, doing a second allocation. Two allocations for a single string, bleh. This commit changes the `From` impls so that you can only create a `{D,Subd}iagnosticMessage` from `&str`, `String`, or `Cow<'static, str>`. This requires changing all the places that currently create one from a `&String`. Most of these are of the `&format!(...)` form described above; each one removes an unnecessary static `&`, plus an allocation when executed. There are also a few places where the existing use of `&String` was more reasonable; these now just use `clone()` at the call site. As well as making the code nicer and more efficient, this is a step towards possibly using `Cow<'static, str>` in `{D,Subd}iagnosticMessage::{Str,Eager}`. That would require changing the `From<&'a str>` impls to `From<&'static str>`, which is doable, but I'm not yet sure if it's worthwhile. | ||||
| 2023-04-29 | Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into ↵ | bjorn3 | -1/+38 | |
| sync_cg_clif-2023-04-29 | ||||
| 2023-03-15 | Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into ↵ | bjorn3 | -3/+7 | |
| sync_cg_clif-2023-03-15 | ||||
| 2023-02-16 | `if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)` | Maybe Waffle | -11/+7 | |
| 2023-02-09 | Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into ↵ | bjorn3 | -91/+100 | |
| sync_cg_clif-2023-02-09 | ||||
| 2023-01-24 | Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into ↵ | bjorn3 | -3/+15 | |
| sync_cg_clif-2023-01-24 | ||||
| 2022-12-14 | Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into ↵ | bjorn3 | -5/+10 | |
| sync_cg_clif-2022-12-14 | ||||
| 2022-10-23 | Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into ↵ | bjorn3 | -35/+18 | |
| sync_cg_clif-2022-10-23 | ||||
| 2022-08-24 | Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into ↵ | bjorn3 | -258/+351 | |
| sync_cg_clif-2022-08-24 | ||||
| 2022-07-13 | Rename `debugging_opts` to `unstable_opts` | Joshua Nelson | -1/+1 | |
| This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. | ||||
| 2022-07-06 | incr: cache dwarf objects in work products | David Wood | -2/+9 | |
| Cache DWARF objects alongside object files in work products when those exist so that DWARF object files are available for thorin in packed mode in incremental scenarios. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-06-16 | Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock` | Maybe Waffle | -1/+1 | |
| 2022-06-06 | Make saved_file field of WorkProduct non-optional | bjorn3 | -15/+10 | |
| A WorkProduct without a saved file is useless | ||||
| 2022-06-06 | Factor Option out of copy_cgu_workproduct_to_incr_comp_cache_dir call | bjorn3 | -5/+1 | |
| This improves clarity of the code a bit | ||||
| 2022-06-06 | Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cache_dir calls | bjorn3 | -1/+1 | |
| 2022-06-06 | Rename CodegenUnit::work_product to previous_work_product | bjorn3 | -1/+1 | |
| It returns the previous work product or panics if there is none. This rename makes the purpose of this method clearer. | ||||
| 2022-05-15 | Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into ↵ | bjorn3 | -2/+2 | |
| sync_cg_clif-2022-05-15 | ||||
| 2022-04-08 | check_doc_keyword: don't alloc string for emptiness check | klensy | -2/+2 | |
| check_doc_alias_value: get argument as Symbol to prevent needless string convertions check_doc_attrs: don't alloc vec, iterate over slice. Vec introduced in #83149, but no perf run posted on merge replace as_str() check with symbol check get_single_str_from_tts: don't prealloc string trivial string to str replace LifetimeScopeForPath::NonElided use Vec<Symbol> instead of Vec<String> AssertModuleSource use BTreeSet<Symbol> instead of BTreeSet<String> CrateInfo.crate_name replace FxHashMap<CrateNum, String> with FxHashMap<CrateNum, Symbol> | ||||
| 2022-04-03 | Cleanup after some refactoring in rustc_target | Loïc BRANSTETT | -2/+6 | |
| 2022-03-20 | Merge commit '370c397ec9169809e5ad270079712e0043514240' into ↵ | bjorn3 | -3/+4 | |
| sync_cg_clif-2022-03-20 | ||||
| 2022-02-23 | Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into ↵ | bjorn3 | -9/+4 | |
| sync_cg_clif-2022-02-23 | ||||
| 2021-12-30 | Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into ↵ | bjorn3 | -1/+1 | |
| sync_cg_clif-2021-12-30 | ||||
| 2021-12-20 | Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into ↵ | bjorn3 | -8/+23 | |
| sync_cg_clif-2021-12-20 | ||||
| 2021-12-15 | Remove unnecessary sigils around `Symbol::as_str()` calls. | Nicholas Nethercote | -3/+3 | |
| 2021-10-20 | Make hash_result an Option. | Camille GILLOT | -1/+1 | |
| 2021-09-30 | Move EncodedMetadata to rustc_metadata. | Camille GILLOT | -1/+1 | |
| 2021-09-19 | Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into ↵ | bjorn3 | -7/+16 | |
| sync_cg_clif-2021-09-19 | ||||
| 2021-09-02 | Use in_incr_comp_dir_sess in cg_clif | bjorn3 | -2/+1 | |
| 2021-07-07 | Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into ↵ | bjorn3 | -21/+111 | |
| sync_cg_clif-2021-07-07 | ||||
| 2021-07-06 | Move LinkerInfo into CrateInfo | bjorn3 | -4/+2 | |
| 2021-07-05 | Remove LibSource | bjorn3 | -1/+1 | |
| The information is stored in used_crate_source too anyway | ||||
| 2021-06-04 | Move crate_name field from OngoingCodegen to CrateInfo | bjorn3 | -1/+0 | |
| 2021-06-04 | Move windows_subsystem field from CodegenResults to CrateInfo | bjorn3 | -16/+0 | |
| 2021-05-27 | Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into ↵ | bjorn3 | -10/+14 | |
| sync_cg_clif-2021-05-27 | ||||
| 2021-05-17 | Auto merge of #85178 - cjgillot:local-crate, r=oli-obk | bors | -8/+7 | |
| Remove CrateNum parameter for queries that only work on local crate The pervasive `CrateNum` parameter is a remnant of the multi-crate rustc idea. Using `()` as query key in those cases avoids having to worry about the validity of the query key. | ||||
| 2021-05-13 | Add support for const operands and options to global_asm! | Amanieu d'Antras | -3/+14 | |
| On x86, the default syntax is also switched to Intel to match asm! | ||||
| 2021-05-12 | Use () for codegen queries. | Camille GILLOT | -7/+6 | |
