-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 35 pull requests #40420
Rollup of 35 pull requests #40420
Conversation
Fixes rendering of the end of the `Configure and Make` section.
This allows limiting the number of linker jobs to avoid swapping when linking LLVM with debug info.
Keeps MIR cleaner, `StorageLive(_: !)` makes no sense anyway.
gdb will now reliably detect the lanugage as rust even before any code is run.
Adds `get`/`get_mut` accessors and `drain`/`drain_enumerated` iterators to IndexVec. Implements TypeFoldable for IndexVec.
Fairly basic implementation of inlining for MIR. Uses conservative heuristics for inlining.
I can't find anything that'd cause unexpected EOF in the source, so let's try taking a look at the error logs on failures.
This causes problems when first cloning and bootstrapping the repository unfortunately, so let's ensure that Cargo sticks around in its own workspace. Because Cargo is a submodule it's not available by default on the inital clone of the rust-lang/rust repository. Normally it's the responsibility of the rustbuild to take care of this, but unfortunately to build rustbuild itself we need to resolve the workspace conflicts. To deal with this we'll just have to ensure that all submodules are in their own workspace, which sort of makes sense anyway as updates to dependencies as bugfixes to Cargo should go to rust-lang/cargo instead of rust-lang/rust. In any case this commit removes Cargo from the global workspace which should resolve the issues that we've been seeing. To actually perform this the `cargo` submodule has been moved to the top directory to ensure it's outside the scope of `src/Cargo.toml` as a workspace.
@bors: r+ |
📌 Commit d269f8d has been approved by |
I don't believe that we need this any more now that `cargo-vendor` isn't installed to create a source tarball (that only happens on Linux)
@bors: r+ |
📌 Commit 5be9027 has been approved by |
⌛ Testing commit 5be9027 with merge 2607239... |
💔 Test failed - status-travis |
@bors: r+ |
📌 Commit d854915 has been approved by |
⌛ Testing commit d854915 with merge 4a77ed5... |
This brings back playpen integration for the books.
💔 Test failed - status-travis |
investigating... |
That's presumably the GDB PR. |
I was thinking https://github.com/rust-lang/rust/pull/40220/files as it touches macros, but I'm not sure. The full test suite passed at one point on Windows/mac/linux so it may also be i686-musl specific, but that seems far fetched. I'm verifying those latter two claims locally. |
Closing in favor of a more conservative version |
proc_macro
#40199, Restore creating the channel-rust-$channel-date.txt files #40225, Remove ability for plugins to register a MIR pass #40239, LLVM: Update submodule to include SRet support patch for MSP430. #40257, Fix emscripten test detection #40259, rustbuild: expose LLVM_PARALLEL_LINK_JOBS #40277, Clean up rustdoc css #40278, Fix incorrect span label formatting #40287, Don't put Cargo into the rustc workspace #40297, first pass at isolating dep-graph tasks #40308, Expect macro defs in save-analysis and add expn info to spans for att… #40311, Allow lints to check Bodys directly #40315, Disallow subtyping between T and U in T: Unsize<U>. #40319, travis: Attempt to debug sccache failures #40324, rustc: Exit quickly on only--emit dep-info
#40336, Update syntax forpub(restricted)
#40340, save-analysis: cope with lack of method data after a type error #40344, Fix missing backtick typo #40345, Improve the LLVM IR we generate for trivial functions, especially #[naked] ones. #40367, Give spans to individual path segments in AST #40369, Do not bother creating StorageLive for TyNever #40372, Fix UB in repr(packed) tests #40373, Box docs: no allocation is done for ZSTs. #40379, Distinguish the waysCStr::from_bytes_with_nul
can fail #40386, Implement placement-in protocol forVecDeque
#40389, Update gdbr tests #40400, fix #40294 obligation cause.body_id is not always a NodeExpr #40404ast::ItemKind::MacroDef
, simplify hygiene info #40220, Support armhf abi on 64-bit ARM cpus #40261, rustbuild: Add option for enabling partial LLVM rebuilds #40329