-
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 38 pull requests #40432
Rollup of 38 pull requests #40432
Commits on Feb 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8a64cf7 - Browse repository at this point
Copy the full SHA 8a64cf7View commit details
Commits on Mar 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for edf5dc6 - Browse repository at this point
Copy the full SHA edf5dc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eeede3 - Browse repository at this point
Copy the full SHA 4eeede3View commit details -
Configuration menu - View commit details
-
Copy full SHA for da6e7c8 - Browse repository at this point
Copy the full SHA da6e7c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57c989c - Browse repository at this point
Copy the full SHA 57c989cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e2390f - Browse repository at this point
Copy the full SHA 3e2390fView commit details -
rustbuild: expose LLVM_PARALLEL_LINK_JOBS
This allows limiting the number of linker jobs to avoid swapping when linking LLVM with debug info.
Robin Kruppe committedMar 9, 2017 Configuration menu - View commit details
-
Copy full SHA for 58ff4f6 - Browse repository at this point
Copy the full SHA 58ff4f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8062cfb - Browse repository at this point
Copy the full SHA 8062cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4078b25 - Browse repository at this point
Copy the full SHA 4078b25View commit details
Commits on Mar 10, 2017
-
travis: Attempt to debug sccache failures
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.
Configuration menu - View commit details
-
Copy full SHA for a8cacd3 - Browse repository at this point
Copy the full SHA a8cacd3View commit details -
Point to enclosing block/fn on nested unsafe
When declaring nested unsafe blocks (`unsafe {unsafe {}}`) that trigger the "unnecessary `unsafe` block" error, point out the enclosing `unsafe block` or `unsafe fn` that makes it unnecessary.
Configuration menu - View commit details
-
Copy full SHA for ac2bc7c - Browse repository at this point
Copy the full SHA ac2bc7cView commit details -
Export attributes in save-analysis data
Some annotations like the "test" annotations might be of interest for other projects, especially rls. Export all attributes in a new attributes item.
Configuration menu - View commit details
-
Copy full SHA for a07c9a2 - Browse repository at this point
Copy the full SHA a07c9a2View commit details -
Remove the AST structure
Configuration menu - View commit details
-
Copy full SHA for 203d227 - Browse repository at this point
Copy the full SHA 203d227View commit details -
Configuration menu - View commit details
-
Copy full SHA for db35604 - Browse repository at this point
Copy the full SHA db35604View commit details -
Remove ability for plugins to register a MIR pass
In recent months there have been a few different people investigating how to make a plugin that registers a MIR-pass – one that isn’t intended to be eventually merged into rustc proper. The interface to register MIR passes was added primarily for miri (& later was found to make prototyping of rustc-proper MIR passes a tiny bit faster). Since miri does not use this interface anymore it seems like a good time to remove this "feature". For prototyping purposes a similar interface can be added by developers themselves in their custom rustc build.
Configuration menu - View commit details
-
Copy full SHA for 4ca9c97 - Browse repository at this point
Copy the full SHA 4ca9c97View commit details -
Support armhf abi on 64-bit ARM cpus
They report their `uname -m` as armv8l rather than aarch64. Patch originally by Matthias Klose <doko@debian.org>
Configuration menu - View commit details
-
Copy full SHA for 0a55c8e - Browse repository at this point
Copy the full SHA 0a55c8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b0dd7b - Browse repository at this point
Copy the full SHA 7b0dd7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5afe784 - Browse repository at this point
Copy the full SHA 5afe784View commit details -
rustc: Exit quickly on only
--emit dep-info
This commit alters the compiler to exit quickly if the only output being emitted is `dep-info`, which doesn't need a lot of other information to generate. Closes rust-lang#40328
Configuration menu - View commit details
-
Copy full SHA for 5c8aa74 - Browse repository at this point
Copy the full SHA 5c8aa74View commit details -
This change introduces a Dockerfile and script which builds a complete Fuchsia toolchain which can be used to build Rust distribution for Fuchsia. We only support cross-compiling at the moment, hence only setting the target.
Configuration menu - View commit details
-
Copy full SHA for 9a84611 - Browse repository at this point
Copy the full SHA 9a84611View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83814fd - Browse repository at this point
Copy the full SHA 83814fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 384ee48 - Browse repository at this point
Copy the full SHA 384ee48View commit details -
travis: Remove compiling OpenSSL through homebrew
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)
Configuration menu - View commit details
-
Copy full SHA for dcfc7ee - Browse repository at this point
Copy the full SHA dcfc7eeView commit details -
Don't put Cargo into the rustc workspace
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.
Configuration menu - View commit details
-
Copy full SHA for c65996e - Browse repository at this point
Copy the full SHA c65996eView commit details -
Rollup merge of rust-lang#39202 - estebank:nested-unsafe, r=jonathand…
…turner Point to enclosing block/fn on nested unsafe When declaring nested unsafe blocks (`unsafe {unsafe {}}`) that trigger the "unnecessary `unsafe` block" error, point out the enclosing `unsafe block` or `unsafe fn` that makes it unnecessary. <img width="621" alt="" src="https://cloud.githubusercontent.com/assets/1606434/22139922/26ad468a-de9e-11e6-8884-2945be882ea8.png"> Fixes rust-lang#39144.
Configuration menu - View commit details
-
Copy full SHA for d335c0a - Browse repository at this point
Copy the full SHA d335c0aView commit details -
Rollup merge of rust-lang#39820 - jonasbb:export-attributes, r=nrc
Export attributes in save-analysis data Since this is my first pull-request to rust, I would like to get some feedback about obvious errors in this implementation. I would like to change the save-analysis data to include arbitrary attribute data. A use-case I have in mind for this is identifying functions with `#[test]` annotations such that tools like rls can offer a test-runner feature. I described my idea here [rls#173](rust-lang/rls#173). My changes contain: 1. track a vector of attributes in the various `*Data` types in `data.rs` and `external_data.rs` 2. implement lowering for `Attribute` and `MetaItem` 3. adjust `JsonDumper` to print the attributes In the lowering of `Attribute` I remove the distinction between `MetaItem` and `NestedMetaItem`. I did this because this distinction is somewhat confusing. For example, `NestedMetaItemKind::Literal` has two identical spans, because both `NestedMetaItem` and `Lit` are defined as `Spanned<_>`. My model is strictly more general, as it allows an `LitKind` instead of a `Symbol` for `MetaItem` and `Symbol`s are converted into a cooked string. As a consumer of the save-analysis data this shouldn't affect you much. Example json output of `#[test]` annotation: ``` "attributes": [ { "value": { "name": { "variant": "Str", "fields": [ "test", "Cooked" ] }, "kind": "Literal", "span": { "file_name": "test.rs", "byte_start": 2, "byte_end": 6, "line_start": 1, "line_end": 1, "column_start": 3, "column_end": 7 } }, "span": { "file_name": "test.rs", "byte_start": 0, "byte_end": 7, "line_start": 1, "line_end": 1, "column_start": 1, "column_end": 8 } } ] ```
Configuration menu - View commit details
-
Copy full SHA for 3b7a534 - Browse repository at this point
Copy the full SHA 3b7a534View commit details -
Rollup merge of rust-lang#39918 - petrhosek:fuchsia-ci, r=alexcrichton
travis: Fuchsia builder This change introduces a Dockerfile and script which builds a complete Fuchsia toolchain which can be used to build Rust distribution for Fuchsia. We only support cross-compiling at the moment, hence only setting the target.
Configuration menu - View commit details
-
Copy full SHA for b92073d - Browse repository at this point
Copy the full SHA b92073dView commit details
Commits on Mar 11, 2017
-
Rollup merge of rust-lang#40092 - sinkuu:fix_suggestion_index, r=pnkf…
…elix Fix suggestion span error with a line containing multibyte characters This PR fixes broken suggestions caused by multibyte characters. e.g. for this code, rustc provides a broken suggestion ([playground](https://is.gd/DWGLu7)): ```rust fn main() { let tup = (1,); println!("☃{}", tup[0]); } ``` ``` error: cannot index a value of type `({integer},)` --> <anon>:3:21 | 3 | println!("☃{}", tup[0]); | ^^^^^^ | help: to access tuple elements, use tuple indexing syntax as shown | println!("☃{}"tup.00]); error: aborting due to previous error ``` `CodeSuggestion::splice_lines` is misusing `Loc.col` (`CharPos`) as a byte offset when slicing source.
Configuration menu - View commit details
-
Copy full SHA for da994cd - Browse repository at this point
Copy the full SHA da994cdView commit details -
Rollup merge of rust-lang#40225 - shepmaster:restore-build-date-file,…
… r=alexcrichton Restore creating the channel-rust-$channel-date.txt files I have **not** run this (because I don't know how to 😇), but it *does* compile. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 37265d8 - Browse repository at this point
Copy the full SHA 37265d8View commit details -
Rollup merge of rust-lang#40239 - nagisa:death-to-plugins, r=nikomats…
…akis Remove ability for plugins to register a MIR pass In recent months there have been a few different people investigating how to make a plugin that registers a MIR-pass – one that isn’t intended to be eventually merged into rustc proper. The interface to register MIR passes was added primarily for miri (& later was found to make prototyping of rustc-proper MIR passes a tiny bit faster). Since miri does not use this interface anymore it seems like a good time to remove this "feature". For prototyping purposes a similar interface can be added by developers themselves in their custom rustc build. cc @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 5377eab - Browse repository at this point
Copy the full SHA 5377eabView commit details -
Rollup merge of rust-lang#40259 - TimNN:fix-emscripten-tests, r=alexc…
…richton Fix emscripten test detection Without this change `rustbuild` will attempt to run `.js.map` files (if they exist) resulting in lots of sadness. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 5c715de - Browse repository at this point
Copy the full SHA 5c715deView commit details -
Rollup merge of rust-lang#40261 - infinity0:patch-1, r=alexcrichton
Support armhf abi on 64-bit ARM cpus They report their `uname -m` as armv8l rather than aarch64. Patch originally by Matthias Klose <doko@debian.org>
Configuration menu - View commit details
-
Copy full SHA for 0ce745b - Browse repository at this point
Copy the full SHA 0ce745bView commit details -
Rollup merge of rust-lang#40277 - rkruppe:llvm-parallel-link-jobs, r=…
…alexcrichton rustbuild: expose LLVM_PARALLEL_LINK_JOBS This allows limiting the number of linker jobs to avoid swapping when linking LLVM with debug info.
Configuration menu - View commit details
-
Copy full SHA for 416889f - Browse repository at this point
Copy the full SHA 416889fView commit details -
Rollup merge of rust-lang#40278 - GuillaumeGomez:css-cleanup, r=frewsxcv
Clean up rustdoc css r? @rust-lang/docs
Configuration menu - View commit details
-
Copy full SHA for dcc24b1 - Browse repository at this point
Copy the full SHA dcc24b1View commit details -
Rollup merge of rust-lang#40287 - estebank:label-overlap, r=nrc
Fix incorrect span label formatting Fix rust-lang#40157.
Configuration menu - View commit details
-
Copy full SHA for c253eb2 - Browse repository at this point
Copy the full SHA c253eb2View commit details -
Rollup merge of rust-lang#40297 - alexcrichton:fix-submodules, r=brson
Don't put Cargo into the rustc workspace 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 a new `vendor` directory to ensure it's outside the scope of `src/Cargo.toml` as a workspace. Closes rust-lang#40284
Configuration menu - View commit details
-
Copy full SHA for ac1bbf7 - Browse repository at this point
Copy the full SHA ac1bbf7View commit details -
Rollup merge of rust-lang#40311 - nrc:save-proc-macro-attr, r=jseyfried
Expect macro defs in save-analysis and add expn info to spans for att… …r proc macros r? @jseyfried
Configuration menu - View commit details
-
Copy full SHA for 755877d - Browse repository at this point
Copy the full SHA 755877dView commit details -
Rollup merge of rust-lang#40324 - alexcrichton:sccache-errors, r=aturon
travis: Attempt to debug sccache failures 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.
Configuration menu - View commit details
-
Copy full SHA for c1c3b09 - Browse repository at this point
Copy the full SHA c1c3b09View commit details -
Rollup merge of rust-lang#40336 - alexcrichton:fast-dep-info, r=nrc
rustc: Exit quickly on only `--emit dep-info` This commit alters the compiler to exit quickly if the only output being emitted is `dep-info`, which doesn't need a lot of other information to generate. Closes rust-lang#40328
Configuration menu - View commit details
-
Copy full SHA for 2b1d1bb - Browse repository at this point
Copy the full SHA 2b1d1bbView commit details -
Rollup merge of rust-lang#40379 - clarcharr:box_docs, r=brson
Box docs: no allocation is done for ZSTs. Updated to add a small bit saying that ZSTs don't actually allocate on `Box::new`.
Configuration menu - View commit details
-
Copy full SHA for 8f02dc2 - Browse repository at this point
Copy the full SHA 8f02dc2View commit details -
Rollup merge of rust-lang#40386 - tbu-:pr_display_frombyteswithnulerr…
…or, r=alexcrichton Distinguish the ways `CStr::from_bytes_with_nul` can fail
Configuration menu - View commit details
-
Copy full SHA for d0da85d - Browse repository at this point
Copy the full SHA d0da85dView commit details -
Rollup merge of rust-lang#40389 - F001:placementVecDeque, r=nagisa
Implement placement-in protocol for `VecDeque` CC rust-lang#30172 r? @nagisa
Configuration menu - View commit details
-
Copy full SHA for dcf4182 - Browse repository at this point
Copy the full SHA dcf4182View commit details -
Rollup merge of rust-lang#40410 - clarcharr:os_string_shrink_to_fit, …
…r=alexcrichton OsString::shrink_to_fit. Considering how the other capacity-related methods are there, I found it odd that this one wasn't included. Will create a tracking issue once I get an OK on this.
Configuration menu - View commit details
-
Copy full SHA for f4b4e09 - Browse repository at this point
Copy the full SHA f4b4e09View commit details -
Rollup merge of rust-lang#40423 - DirkyJerky:patch-2, r=BurntSushi
Clarify docs in `VecDeque::resize`
Configuration menu - View commit details
-
Copy full SHA for b32393c - Browse repository at this point
Copy the full SHA b32393cView commit details -
Rollup merge of rust-lang#40424 - alexcrichton:faster-travis-osx, r=b…
…rson travis: Remove compiling OpenSSL through homebrew 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)
Configuration menu - View commit details
-
Copy full SHA for d03b6b3 - Browse repository at this point
Copy the full SHA d03b6b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3493d91 - Browse repository at this point
Copy the full SHA 3493d91View commit details