-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #70305
Rollup of 8 pull requests #70305
Commits on Mar 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 24dc2cb - Browse repository at this point
Copy the full SHA 24dc2cbView commit details
Commits on Mar 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 71f5aed - Browse repository at this point
Copy the full SHA 71f5aedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0536b8d - Browse repository at this point
Copy the full SHA 0536b8dView commit details -
Revert "Fix missing libLLVM.so in stage0 sysroot."
This reverts commit 8b9c539.
Configuration menu - View commit details
-
Copy full SHA for e1a6a30 - Browse repository at this point
Copy the full SHA e1a6a30View commit details
Commits on Mar 19, 2020
-
Update the bundled wasi-libc with libstd
Brings in WebAssembly/wasi-libc#184 which can help standalone programs with environment variables!
Configuration menu - View commit details
-
Copy full SHA for d1a4a57 - Browse repository at this point
Copy the full SHA d1a4a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a2a442 - Browse repository at this point
Copy the full SHA 3a2a442View commit details
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 10f08ab - Browse repository at this point
Copy the full SHA 10f08abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fd397b - Browse repository at this point
Copy the full SHA 3fd397bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a15cc - Browse repository at this point
Copy the full SHA d9a15ccView commit details
Commits on Mar 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 52fbd3e - Browse repository at this point
Copy the full SHA 52fbd3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94bbd46 - Browse repository at this point
Copy the full SHA 94bbd46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29df39b - Browse repository at this point
Copy the full SHA 29df39bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 854b78f - Browse repository at this point
Copy the full SHA 854b78fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9175940 - Browse repository at this point
Copy the full SHA 9175940View commit details
Commits on Mar 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7023948 - Browse repository at this point
Copy the full SHA 7023948View commit details -
rustc_codegen_llvm: don't generate Self type debuginfo for methods fo…
…r -Cdebuginfo=1.
Configuration menu - View commit details
-
Copy full SHA for c923f04 - Browse repository at this point
Copy the full SHA c923f04View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6f4a2f - Browse repository at this point
Copy the full SHA d6f4a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e78a2 - Browse repository at this point
Copy the full SHA b5e78a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3c0a09 - Browse repository at this point
Copy the full SHA c3c0a09View commit details -
Rollup merge of rust-lang#69080 - eddyb:one-billion-dwarves-walk-into…
…-a-bar, r=michaelwoerister rustc_codegen_llvm: don't generate any type debuginfo for -Cdebuginfo=1. Works towards rust-lang#69074 by adding more checks for `DebugInfo::Full` in a few places in `rustc_codegen_llvm`, bringing us in line with what `clang -g1` generates (no debuginfo types, nor debuginfo for `static`s). <hr/> My local build's (`debuginfo-level=1`, `debug-assertions=1`) `librustc_driver-*.so` went from just over 1GiB (1019MiB) down to 402MiB. It's still bad, but the `.debug_*` sections themselves (as reported by `objdump`) went from something like 853MiB down to 236MiB, i.e. roughly a 3.6x reduction. <hr/> Sadly, I don't think this is enough to justify *shipping* all of this debuginfo, but now it's more plausible that we could at least *build* with `debuginfo-level=1` *then* strip it. That would give us real backtraces for e.g. ICEs during builds, but I don't know how often that's relevant. We could also look into split DWARF, and maybe have a `rustc-debuginfo` component in `rustup`. There's also the possibility of making it slimmer by omitting parameters to functions, or perhaps some deduplication (I think right now there is no DWARF reuse across CGUs? maybe ThinLTO helps?). r? @michaelwoerister cc @rust-lang/wg-codegen @alexcrichton @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 1980242 - Browse repository at this point
Copy the full SHA 1980242View commit details -
Rollup merge of rust-lang#69940 - tmiasko:llvm-api, r=hanna-kruppe
librustc_codegen_llvm: Replace deprecated API usage
Configuration menu - View commit details
-
Copy full SHA for 61a56fb - Browse repository at this point
Copy the full SHA 61a56fbView commit details -
Rollup merge of rust-lang#69942 - estebank:sized-verbose-sugg, r=matt…
…hewjasper Increase verbosity when suggesting subtle code changes Do not suggest changes that are actually quite small inline, to minimize the likelihood of confusion. Fix rust-lang#69243.
Configuration menu - View commit details
-
Copy full SHA for 906b399 - Browse repository at this point
Copy the full SHA 906b399View commit details -
Rollup merge of rust-lang#69968 - eddyb:tupled-closure-captures, r=ni…
…komatsakis rustc: keep upvars tupled in {Closure,Generator}Substs. Previously, each closure/generator capture's (aka "upvar") type was tracked as one "synthetic" type parameter in the closure/generator substs, and figuring out where the parent `fn`'s generics end and the synthetics start involved slicing at `tcx.generics_of(def_id).parent_count`. Needing to query `generics_of` limited @davidtwco (who wants to compute some `TypeFlags` differently for parent generics vs upvars, and `TyCtxt` is not available there), which is how I got started on this, but it's also possible that the `generics_of` queries are slowing down `{Closure,Generator}Substs` methods. To give an example, for a `foo::<T, U>::{closure#0}` with captures `x: X` and `y: Y`, substs are: * before this PR: `[T, U, /*kind*/, /*signature*/, X, Y]` * after this PR: `[T, U, /*kind*/, /*signature*/, (X, Y)]` You can see that, with this PR, no matter how many captures, the last 3 entries in the substs (or 5 for a generator) are always the "synthetic" ones, with the last one being the tuple of capture types. r? @nikomatsakis cc @Zoxc
Configuration menu - View commit details
-
Copy full SHA for bee074f - Browse repository at this point
Copy the full SHA bee074fView commit details -
Rollup merge of rust-lang#70123 - cuviper:library-path, r=Mark-Simula…
…crum Ensure LLVM is in the link path for rustc tools The build script for `rustc_llvm` outputs LLVM information in `cargo:rustc-link-lib` and `cargo:rustc-link-search` so the compiler can be linked correctly. However, while the lib is carried along in metadata, the search paths are not. So when cargo is invoked again later for rustc _tools_, they'll also try to link with LLVM, but the necessary paths may be left out. Rustbuild can use the environment to set the LLVM link path for tools -- `LIB` for MSVC toolchains and `LIBRARY_PATH` for everyone else. Fixes rust-lang#68714.
Configuration menu - View commit details
-
Copy full SHA for 9423c4f - Browse repository at this point
Copy the full SHA 9423c4fView commit details -
Rollup merge of rust-lang#70159 - alexcrichton:update-wasi, r=pietroa…
…lbini Update the bundled wasi-libc with libstd Brings in WebAssembly/wasi-libc#184 which can help standalone programs with environment variables!
Configuration menu - View commit details
-
Copy full SHA for edbbb49 - Browse repository at this point
Copy the full SHA edbbb49View commit details -
Rollup merge of rust-lang#70233 - petrochenkov:superproc, r=ecstatic-…
…morse resolve: Do not resolve visibilities on proc macro definitions twice Fixes rust-lang#68921
Configuration menu - View commit details
-
Copy full SHA for bb85308 - Browse repository at this point
Copy the full SHA bb85308View commit details -
Rollup merge of rust-lang#70286 - RalfJung:no-experiments, r=petroche…
…nkov Miri error type: remove UbExperimental variant In rust-lang/miri#1250, I will move Miri away from that variant, and use a custom `MachineStop` exception instead.
Configuration menu - View commit details
-
Copy full SHA for 07e1043 - Browse repository at this point
Copy the full SHA 07e1043View commit details