-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 8 pull requests #77926
Rollup of 8 pull requests #77926
Commits on Oct 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 46f2f02 - Browse repository at this point
Copy the full SHA 46f2f02View commit details
Commits on Oct 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 69f45cd - Browse repository at this point
Copy the full SHA 69f45cdView commit details -
Move finalize_session_directory call out of cg_llvm
This causes it to be called even when passing `-Zno-link`, when linking fails or when neither `--emit link` nor `--emit metadata` is used.
Configuration menu - View commit details
-
Copy full SHA for f141acf - Browse repository at this point
Copy the full SHA f141acfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb9da7a - Browse repository at this point
Copy the full SHA bb9da7aView commit details -
Use fixed type for CodegenResults
This also moves the -Zno-link implementation to rustc_interface
Configuration menu - View commit details
-
Copy full SHA for 69f26b7 - Browse repository at this point
Copy the full SHA 69f26b7View commit details -
Move llvm_util::time_trace_profiler_finish call to join_codegen
This makes it also run when compilation has failed, neither --emit exe nor --emit metadata is passed, or -Zno-link is used.
Configuration menu - View commit details
-
Copy full SHA for 12a2941 - Browse repository at this point
Copy the full SHA 12a2941View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa51449 - Browse repository at this point
Copy the full SHA aa51449View commit details
Commits on Oct 11, 2020
-
Moved the main
impl
for FnCtxt to its own file.This is a solution to the file length being over 3000, something Clippy has a problem with. The other solution to the file length is 1. to change the API of this struct by 2. encapulating certain fields of the struct into other structs.
Configuration menu - View commit details
-
Copy full SHA for 21751fa - Browse repository at this point
Copy the full SHA 21751faView commit details -
Switch rustdoc from
clean::Stability
torustc_attr::Stability
This gives greater type safety and is less work to maintain on the rustdoc end.
Configuration menu - View commit details
-
Copy full SHA for cc0d140 - Browse repository at this point
Copy the full SHA cc0d140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c0479 - Browse repository at this point
Copy the full SHA 85c0479View commit details -
Move
PartialOrd
impl out of rustcRustdoc's ordering requirements are probably not relevant to the rest of the compiler.
Configuration menu - View commit details
-
Copy full SHA for 96b0446 - Browse repository at this point
Copy the full SHA 96b0446View commit details -
bootstrap: only use compiler-builtins-c if they exist
The assignment of `features` above was added in rust-lang#60981, but never used. Presumably the intent was to replace the string literal here with it. While I'm in the area, `compiler_builtins_c_feature` doesn't need to be a `String`.
Configuration menu - View commit details
-
Copy full SHA for ca5478a - Browse repository at this point
Copy the full SHA ca5478aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48291cf - Browse repository at this point
Copy the full SHA 48291cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16d0205 - Browse repository at this point
Copy the full SHA 16d0205View commit details
Commits on Oct 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8487879 - Browse repository at this point
Copy the full SHA 8487879View commit details -
Configuration menu - View commit details
-
Copy full SHA for b620e49 - Browse repository at this point
Copy the full SHA b620e49View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce7c73c - Browse repository at this point
Copy the full SHA ce7c73cView commit details
Commits on Oct 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 95221b4 - Browse repository at this point
Copy the full SHA 95221b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7beeb07 - Browse repository at this point
Copy the full SHA 7beeb07View commit details -
Add a target option for selecting a DWARF version
Certain platforms need to limit the DWARF version emitted (oxs, *bsd). This change adds a dwarf_version entry to the options that allows a platform to specify the dwarf version to use. By default this option is none and the default DWARF version is selected. Also adds an option for printing Option<u32> json keys
Configuration menu - View commit details
-
Copy full SHA for 4511f8b - Browse repository at this point
Copy the full SHA 4511f8bView commit details
Commits on Oct 14, 2020
-
Rollup merge of rust-lang#77765 - amshafer:master, r=petrochenkov
Add LLVM flags to limit DWARF version to 2 on BSD This has been a thorn in my side for a while, I can finally generate flamegraphs of rust programs on bsd again. This fixes dtrace profiling on freebsd, I think it might help with lldb as well but I can't test that because my current rust-lldb setup is messed up. I'm limiting the dwarf version to 2 on all bsd's (netbsd/openbsd/freebsd) since it looks like this applies to all of them, but I have only tested on freebsd. Let me know if there's anything I can improve! --- Currently on FreeBSD dtrace profiling does not work and shows jumbled/incorrect symbols in the backtraces. FreeBSD does not support the latest versions of DWARF in dtrace (and lldb?) yet, and needs to be limited to DWARF2 in the same way as macos. This adds an is_like_bsd flag since it was missing. NetBSD/OpenBSD/FreeBSD all match this. This effectively copies rust-lang#11864 but targets FreeBSD instead of macos.
Configuration menu - View commit details
-
Copy full SHA for 5962352 - Browse repository at this point
Copy the full SHA 5962352View commit details -
Rollup merge of rust-lang#77788 - ssomers:btree_cleanup_gdb, r=Mark-S…
…imulacrum BTreeMap: fix gdb provider on BTreeMap with ZST keys or values Avoid error when gdb is asked to inspect a BTreeMap or BTreeSet with a zero-sized type as key or value. And clean up. r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 9c365a2 - Browse repository at this point
Copy the full SHA 9c365a2View commit details -
Rollup merge of rust-lang#77795 - bjorn3:codegen_backend_interface_re…
…factor, r=oli-obk Codegen backend interface refactor This moves several things away from the codegen backend to rustc_interface. There are a few behavioral changes where previously the incremental cache (incorrectly) wouldn't get finalized, but now it does. See the individual commit messages.
Configuration menu - View commit details
-
Copy full SHA for 17ee28b - Browse repository at this point
Copy the full SHA 17ee28bView commit details -
Rollup merge of rust-lang#77808 - Nicholas-Baron:fn_ctxt_impl, r=matt…
…hewjasper Moved the main `impl` for FnCtxt to its own file. Resolves rust-lang#77085 without breaking the API of the `FnCtxt` struct. This is a solution to the file length being over 3000 (see issue rust-lang#60302). The other solution to the file length is 1. to change the API of this struct by 2. encapulating certain fields of the struct into other structs.
Configuration menu - View commit details
-
Copy full SHA for becd6c6 - Browse repository at this point
Copy the full SHA becd6c6View commit details -
Rollup merge of rust-lang#77817 - jyn514:const-since, r=petrochenkov
Switch rustdoc from `clean::Stability` to `rustc_attr::Stability` This gives greater type safety and is less work to maintain on the rustdoc end. It also makes rustdoc more consistent with rustc. Noticed this while working on rust-lang#76998. - Remove `clean::Stability` in favor of `rustc_attr::Stability` - Remove `impl Clean for Stability`; it's no longer necessary r? @GuillaumeGomez cc @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 41146c1 - Browse repository at this point
Copy the full SHA 41146c1View commit details -
Rollup merge of rust-lang#77829 - gburgessiv:unused-features-var, r=a…
…lexcrichton bootstrap: only use compiler-builtins-c if they exist The assignment of `features` above was added in rust-lang#60981, but never used. Presumably the intent was to replace the string literal here with it. While I'm in the area, `compiler_builtins_c_feature` doesn't need to be a `String`. I'm not entirely sure of a great way to locally test this -- `./x.py test` passed on my machine, but 🤷♂️. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 31799ba - Browse repository at this point
Copy the full SHA 31799baView commit details -
Rollup merge of rust-lang#77870 - camelid:intra-doc-super, r=jyn514
Use intra-doc links for links to module-level docs r? @jyn514
Configuration menu - View commit details
-
Copy full SHA for ed34f82 - Browse repository at this point
Copy the full SHA ed34f82View commit details -
Rollup merge of rust-lang#77897 - GuillaumeGomez:cleanup-passes-mod, …
…r=jyn514 Move `Strip` into a separate rustdoc pass Just something which was bothering me lately. :) r? @jyn514
Configuration menu - View commit details
-
Copy full SHA for 54151a6 - Browse repository at this point
Copy the full SHA 54151a6View commit details