| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-11 | Rollup merge of #69893 - tmiasko:cstr, r=petrochenkov | Mazdak Farrokhzad | -35/+36 | |
| librustc_codegen_llvm: Use slices instead of 0-terminated strings Changed functions: * LLVMRustGetOrInsertFunction * LLVMRustGetNamedValue * LLVMRustBuildCall (removed unused name argument) * LLVMRustInlineAsm * LLVMRustInlineAsmVerify * LLVMRustAppendModuleInlineAsm | ||||
| 2020-03-11 | librustc_codegen_llvm: Use slices instead of 0-terminated strings | Tomasz Miąsko | -35/+36 | |
| Changed functions: * LLVMRustGetOrInsertFunction * LLVMRustGetNamedValue * LLVMRustBuildCall (removed unused name argument) * LLVMRustInlineAsm * LLVMRustInlineAsmVerify * LLVMRustAppendModuleInlineAsm | ||||
| 2020-03-10 | rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org | Santiago Pastorino | -1/+1 | |
| 2020-03-10 | Rename rustc guide to rustc dev guide | Santiago Pastorino | -2/+2 | |
| 2020-03-10 | Rename rustc-guide to rustc-dev-guide | Santiago Pastorino | -1/+1 | |
| 2020-03-10 | Rollup merge of #69836 - JohnTitor:immediate-outputs, r=nagisa | Mazdak Farrokhzad | -2/+8 | |
| Check if output is immediate value Fixes #62046 r? @nagisa | ||||
| 2020-03-09 | Avoid unnecessary interning of enum variant part id | Tomasz Miąsko | -4/+1 | |
| 2020-03-09 | Use slices in preference to 0-terminated strings | Tomasz Miąsko | -128/+179 | |
| Additionally whenever possible match C API provided by the LLVM. | ||||
| 2020-03-09 | Check if output is immediate value | Yuki Okushi | -2/+8 | |
| 2020-03-08 | Rollup merge of #69734 - tmiasko:di-enumerator, r=ecstatic-morse | Mazdak Farrokhzad | -8/+19 | |
| Change DIBuilderCreateEnumerator signature to match LLVM 9 * Change DIBuilderCreateEnumerator signature to match LLVM 9 C API. * Use provided is unsigned flag when emitting enumerators. | ||||
| 2020-03-07 | Apply review feedback | Amanieu d'Antras | -1/+1 | |
| 2020-03-07 | Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkov | Mazdak Farrokhzad | -5/+5 | |
| fix various typos | ||||
| 2020-03-07 | Rollup merge of #69667 - JohnTitor:no-debug, r=nikomatsakis | Mazdak Farrokhzad | -12/+1 | |
| Remove the `no_debug` feature Context: https://github.com/rust-lang/rust/issues/29721#issuecomment-367642779 r? @nikomatsakis | ||||
| 2020-03-06 | Don't redundantly repeat field names (clippy::redundant_field_names) | Matthias Krüger | -1/+1 | |
| 2020-03-06 | fix various typos | Matthias Krüger | -5/+5 | |
| 2020-03-05 | Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC | Dylan DPC | -1/+1 | |
| even more clippy cleanups * Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecessary_mut_passed) * Use more efficient &&str to String conversion (clippy::inefficient_to_string) * Don't always eval arguments inside .expect(), use unwrap_or_else and closure. (clippy::expect_fun_call) * Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg) * Use simple 'for i in x' loops instead of 'while let Some(i) = x.next()' loops on iterators. (clippy::while_let_on_iterator) * Const items have by default a static lifetime, there's no need to annotate it. (clippy::redundant_static_lifetimes) * Remove redundant patterns when matching ( x @ _ to x) (clippy::redundant_pattern) | ||||
| 2020-03-05 | debuginfo: Use is unsigned flag when emitting enumerators | Tomasz Miąsko | -1/+6 | |
| 2020-03-05 | debuginfo: Generators use u32 as discriminant type repr | Tomasz Miąsko | -3/+3 | |
| 2020-03-05 | Simplify the try intrinsic by using a callback in the catch block | Amanieu d'Antras | -54/+46 | |
| 2020-03-05 | Remove eh_unwind_resume lang item | Amanieu d'Antras | -46/+1 | |
| 2020-03-05 | Use more efficient &&str to String conversion (clippy::inefficient_to_string) | Matthias Krüger | -1/+1 | |
| 2020-03-05 | Change DIBuilderCreateEnumerator signature to match LLVM 9 | Tomasz Miąsko | -7/+13 | |
| No functional changes intended. | ||||
| 2020-03-04 | Don't use "if let" bindings to only check a value and not actually bind ↵ | Matthias Krüger | -1/+1 | |
| anything. For example: `if let Some(_) = foo() {}` can be reduced to `if foo().is_some() {}` (clippy::redundant_pattern_matching) | ||||
| 2020-03-04 | Don't use .ok() before unwrapping via .expect() on a Result. | Matthias Krüger | -1/+0 | |
| The Result can be expect-unwrapped directly. (clippy::ok_expect) | ||||
| 2020-03-03 | Remove the `no_debug` feature | Yuki Okushi | -12/+1 | |
| 2020-03-03 | use conditions directly | Matthias Krüger | -2/+1 | |
| 2020-03-02 | Apply CPU attributes to __rust_try | Amanieu d'Antras | -0/+2 | |
| 2020-03-02 | Fix cross-DLL panics under MSVC | Amanieu d'Antras | -5/+25 | |
| 2020-03-02 | Avoid over-aligning the return value in the -Cpanic=abort case | Mark Rousskov | -2/+4 | |
| 2020-03-01 | Rollup merge of #69569 - matthiaskrgr:nonminimal_bool, r=mark-Simulacrum | Dylan DPC | -1/+1 | |
| simplify boolean expressions | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -15/+15 | |
| 2020-02-29 | Make it build again | Vadim Petrochenkov | -1/+1 | |
| 2020-02-29 | simplify boolean expressions | Matthias Krüger | -1/+1 | |
| 2020-02-29 | Rollup merge of #69551 - matthiaskrgr:len_zero, r=Mark-Simulacrum | Dylan DPC | -2/+2 | |
| use is_empty() instead of len() == x to determine if structs are empty. | ||||
| 2020-02-28 | use is_empty() instead of len() == x to determine if structs are empty. | Matthias Krüger | -2/+2 | |
| 2020-02-27 | use char instead of &str for single char patterns | Matthias Krüger | -1/+1 | |
| 2020-02-26 | Use byte offsets when emitting debuginfo columns | Tomasz Miąsko | -45/+57 | |
| 2020-02-26 | Emit 1-based column numbers in debuginfo | Tomasz Miąsko | -2/+4 | |
| The debuginfo column numbers are 1-based. The value 0 indicates that no column has been specified. Translate 0-based column numbers to 1-based when emitting debug information. | ||||
| 2020-02-15 | Change `const_field` and `const_caller_location` to return `ConstValue` ↵ | Ben Lewis | -2/+1 | |
| instead of `Const` as the type in the returned const isn't needed. | ||||
| 2020-02-15 | Change const eval to return `ConstValue`, instead of `Const` as the type ↵ | Ben Lewis | -6/+5 | |
| inside it shouldn't be used. | ||||
| 2020-02-13 | add selfprofiling for new llvm passmanager | Andreas Jonson | -2/+88 | |
| 2020-02-12 | Rollup merge of #67954 - nikic:new-pm, r=nagisa | Dylan DPC | -32/+193 | |
| Support new LLVM pass manager Add support for the new LLVM pass manager behind a `-Z new-llvm-pass-manager=on` option. Both the pre-link optimization and LTO pipelines use the new pass manager. There's some bits that are not supported yet: * `-C passes`. NewPM requires an entirely different way of specifying custom pass pipelines. We should probably expose that functionality, but it doesn't directly map to what `-C passes` does. * NewPM has no support for custom inline parameters right now. We'd have to add upstream support for that first. * NewPM does not support PGO at O0 in LLVM 9 (which is why those tests fail with NewPM enabled). This is supported in LLVM 10. * NewPM does not support MergeFunctions in LLVM 9. I've landed this upstream just before the cut, so we'll be able to re-enable that with LLVM 10. Closes #64289. r? @ghost | ||||
| 2020-02-12 | Add support for new pass manager | Nikita Popov | -18/+170 | |
| The new pass manager can be enabled using -Z new-llvm-pass-manager=on. | ||||
| 2020-02-12 | Fix mangled names of lifetime intrinsics | Nikita Popov | -4/+4 | |
| 2020-02-12 | Use IRBuilder to create memset | Nikita Popov | -10/+19 | |
| To avoid creating memsets with outdated signature. For some reason SROA chokes on this when using NewPM. | ||||
| 2020-02-12 | Rollup merge of #69089 - nox:sym64-crash, r=eddyb | Dylan DPC | -0/+2 | |
| Properly use the darwin archive format on Apple targets See https://github.com/servo/servo/issues/25550. | ||||
| 2020-02-12 | Properly use the darwin archive format on Apple targets | Anthony Ramine | -0/+2 | |
| See https://github.com/servo/servo/issues/25550. | ||||
| 2020-02-12 | Rollup merge of #68487 - 0dvictor:nolink, r=tmandry | Yuki Okushi | -2/+2 | |
| [experiment] Support linking from a .rlink file Flag `-Z no-link` was previously introduced, which allows creating an `.rlink` file to perform compilation without linking. This change enables linking from an `.rlink` file. Part of Issue #64191 | ||||
| 2020-02-11 | Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPC | Dylan DPC | -18/+13 | |
| Remove unused feature gates I think many of the remaining unstable things can be easily be replaced with stable things. I have kept the `#![feature(nll)]` even though it is only necessary in `libstd`, to make regressions of it harder. | ||||
| 2020-02-11 | Support linking from a .rlink file | Victor Ding | -2/+2 | |
| Flag `-Z no-link` was previously introduced, which allows creating an `.rlink` file to perform compilation without linking. This change enables linking from an `.rlink` file. | ||||
