Skip to content
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 #69927

Closed
wants to merge 51 commits into from
Closed

Commits on Jan 11, 2020

  1. Added tvOS as a backend

    simlay committed Jan 11, 2020
    Configuration menu
    Copy the full SHA
    35c4aae View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Configuration menu
    Copy the full SHA
    a266169 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2020

  1. Configuration menu
    Copy the full SHA
    6b17330 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. fmt

    Sebastian Imlay committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    2599771 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    0e1cd59 View commit details
    Browse the repository at this point in the history
  2. more toolstate comments

    RalfJung authored and ehuss committed Mar 4, 2020
    Configuration menu
    Copy the full SHA
    a6d8c9c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a41f1f1 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Configuration menu
    Copy the full SHA
    3d146a3 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2020

  1. Configuration menu
    Copy the full SHA
    4897594 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2cbe30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b3364f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6cb04d9 View commit details
    Browse the repository at this point in the history
  5. simplify submod_path

    Centril committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    024af0b View commit details
    Browse the repository at this point in the history
  6. submod_path: use id.span

    Centril committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    9855b34 View commit details
    Browse the repository at this point in the history
  7. extract parse_mod

    Centril committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    3eb86cf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cbcb550 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    996449b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    81b3500 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f284eb3 View commit details
    Browse the repository at this point in the history
  12. expand: use push_directory

    Centril committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    aff35c4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    75ad1b8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e0d001e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    df3792c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a9fd977 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e994922 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    65d072d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1b527ae View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    adc3451 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    d171e59 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. parser/expand: minor cleanup

    Centril committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    ad0b078 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a8870f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    911c75f View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Configuration menu
    Copy the full SHA
    7df5868 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42ab820 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0037f4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d4fdba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ddcea3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d00b269 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b3b32b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

  1. Compute the correct layout for variants of uninhabited enums and read…

    …d a long lost assertion
    
    This reverts part of commit 9712fa4.
    oli-obk committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    cdc7304 View commit details
    Browse the repository at this point in the history
  2. Comment nits

    Co-Authored-By: Ralf Jung <post@ralfj.de>
    oli-obk and RalfJung authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    ec88ffa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3244c84 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74608c7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#68191 - simlay:add-tvSO-target, r=nagisa

    Added tvOS as targets
    
    This is a first attempt of adding support tvOS as described in rust-lang#48862. It's got a lot of overlap with [src/librustc_target/spec/apple_ios_base.rs](https://github.com/rust-lang/rust/blob/31dd4f4acbcbdb02b0745d2136399ed664a28050/src/librustc_target/spec/apple_ios_base.rs).
    
    I thought about refactoring `apple_ios_base.rs` to include this as well but that would require each of the ios and tvos targets to be of the something like the form `let base = opts(AppleOS::TV, Arch::Arm64)?;` I also did the same thing for watchOS because from what I can tell, all three targets (iOS, tvOS, and watchOS) have the same logic but have different parameters being sent to `xcrun`. Thoughts?
    
    As far as the `data_layout` and other parameters to `Target`, I did as much research as I could but it really seems that processor in the [iPhone 11 is the same as the apple TV](https://en.wikipedia.org/wiki/Apple-designed_processors) so I didn't change any of those parameters.
    
    I did get this to build and tested that it's actually running the the below logic (because the parameter to `xcrun` is `appletvos` not `tvos`).
    
    I didn't manage to get it to actually compile a file with `fn main(){}` because I don't have the stdlib for `aarch64-apple-tvos` compiled it seems. Is there documentation for this?
    
    Similar to the ending of rust-lang#63467, I'm not sure what to do next.
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    8296e2c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69011 - foeb:document-unsafe-core-fmt, r=Ma…

    …rk-Simulacrum
    
    Document unsafe blocks in core::fmt
    
    r? @RalfJung
    CC: @rust-lang/wg-unsafe-code-guidelines
    rust-lang#66219
    
    Sorry for the hiatus, but here's a few more files with the unsafe blocks documented! I think working on it smaller chunks like this will be easier for everyone.
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    baef20b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69705 - ehuss:toolstate-remove-redundant-be…

    …ta, r=Mark-Simulacrum
    
    Toolstate: remove redundant beta-week check.
    
    I made a bit of a mistake in rust-lang#69624.  The "beta regression" doesn't need to be checked twice.
    
    I also rolled up rust-lang#69693 to avoid merge conflicts.
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    7f51b9f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#69747 - spastorino:rename-rustc-guide, r=pi…

    …etroalbini
    
    Rename rustc guide
    
    This is in preparation for rust-lang/rustc-dev-guide#470
    Needs to be merged after we actually rename the guide.
    
    Have used this to rename:
    
    `git grep -l 'rustc_guide' | xargs sed -i 's/rustc_guide/rustc_dev_guide/g'`
    `git grep -l 'rustc-guide' | xargs sed -i 's/rustc-guide/rustc-dev-guide/g'`
    `git grep -l 'rustc guide' | xargs sed -i 's/rustc guide/rustc dev guide/g'`
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    64f4b79 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#69768 - oli-obk:union_field_ice, r=eddyb,Ra…

    …lfJung
    
    Compute the correct layout for variants of uninhabited enums
    
    r? @eddyb
    cc @RalfJung
    
    fixes rust-lang#69191
    cc rust-lang#69763
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    3dc5218 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#69830 - RalfJung:miri-invalid-terminator, r…

    …=oli-obk
    
    miri: ICE on invalid terminators
    
    We've run a lot of MIR in Miri (including some generators) and never seen these.
    
    @tmandry is it correct that `Yield` and `GeneratorDrop` get lowered away?
    
    @eddyb @oli-obk what's with this `Abort` that does not seem to ever actually exist? Codegen *does* seem to handle it, so I wonder why Miri can get away without that. In fact, codegen handles it twice:
    
    https://github.com/rust-lang/rust/blob/1d5241c96208ca7d925442b1a5fa45ad18717a6f/src/librustc_codegen_ssa/mir/block.rs#L796
    
    https://github.com/rust-lang/rust/blob/1d5241c96208ca7d925442b1a5fa45ad18717a6f/src/librustc_codegen_ssa/mir/mod.rs#L296
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    4d75a9a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#69838 - Centril:expand-module, r=petrochenk…

    …ov,eddyb
    
    Expansion-driven outline module parsing
    
    After this PR, the parser will not do any conditional compilation or loading of external module files when `mod foo;` is encountered. Instead, the parser only leaves `mod foo;` in place in the AST, with no items filled in. Expansion later kicks in and will load the actual files and do the parsing. This entails that the following is now valid:
    
    ```rust
    #[cfg(FALSE)]
    mod foo {
        mod bar {
            mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
        }
    }
    ```
    
    Fixes rust-lang#64197.
    
    r? @petrochenkov
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    9e299ee View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#69921 - matthiaskrgr:rustdoc_import, r=Centril

    rustdoc: remove unused import
    
    ```
        Checking rustdoc v0.0.0 (/home/matthias/vcs/github/rust/src/librustdoc)
    warning: unused import: `rustc_span::symbol::sym`
      --> src/librustdoc/clean/inline.rs:15:5
       |
    15 | use rustc_span::symbol::sym;
       |     ^^^^^^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(unused_imports)]` on by default
    ```
    Centril authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    0f2f612 View commit details
    Browse the repository at this point in the history