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 9 pull requests #81983

Closed
wants to merge 20 commits into from
Closed

Commits on Feb 5, 2021

  1. Ensures make tests run under /bin/dash, like CI, and fixes a Makefile

    Updates `tools.mk` to explicitly require `SHELL := /bin/dash`, since CI
    uses `dash` but other environments (including developer local machines)
    may default to `bash`.
    
    Replaces bash-specific shell command in one Makefile with a
    dash-compatible alternative, and re-enables the affected Makefile test.
    
    Removes apparently redundant definition of `UNAME`.
    richkadel committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    57ace0d View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

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

Commits on Feb 10, 2021

  1. Use ItemCtxt::to_ty

    camsteffen committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    471ed5f View commit details
    Browse the repository at this point in the history
  2. RELEASES.md 1.50: Group platform support notes together

    Move the note about dropping cloudabi next to the other platform support
    changes.
    joshtriplett committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    883988b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3fea13 View commit details
    Browse the repository at this point in the history
  4. Only initialize what is used

    bugadani committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    3c1d792 View commit details
    Browse the repository at this point in the history
  5. Fix assosiated typo

    Introduced in d3c4dbd, noticed only
    after the fact, sorry. 😅
    
    Signed-off-by: Daniel Egger <daniel@eggers-club.de>
    therealprof committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    a6d4137 View commit details
    Browse the repository at this point in the history
  6. Allow casting mut array ref to mut ptr

    We now allow two new casts:
    
    - mut array reference to mut ptr. Example:
    
          let mut x: [usize; 2] = [0, 0];
          let p = &mut x as *mut usize;
    
      We allow casting const array references to const pointers so not
      allowing mut references to mut pointers was inconsistent.
    
    - mut array reference to const ptr. Example:
    
          let mut x: [usize; 2] = [0, 0];
          let p = &mut x as *const usize;
    
      This was similarly inconsistent as we allow casting mut references to
      const pointers.
    
    Existing test 'vector-cast-weirdness' updated to test both cases.
    
    Fixes rust-lang#24151
    osa1 committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    d64b749 View commit details
    Browse the repository at this point in the history
  7. Catch errors on localStorage setting failure

    Fixes rust-lang#81928
    
    “Ask forgiveness not permission”  : this makes the code both simpler and more robust
    lovasoa committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    f13bbea View commit details
    Browse the repository at this point in the history
  8. Fix getCurrentValue

    lovasoa committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    16f0ccd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5034b50 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2021

  1. Rollup merge of rust-lang#81129 - bugadani:lighter-move-errors, r=pet…

    …rochenkov
    
    Borrowck: don't calculate unused info when reporting move errors
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    b16c54c View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#81479 - osa1:issue24151, r=lcnr

    Allow casting mut array ref to mut ptr
    
    Allow casting mut array ref to mut ptr
    
    We now allow two new casts:
    
    - mut array reference to mut ptr. Example:
    
          let mut x: [usize; 2] = [0, 0];
          let p = &mut x as *mut usize;
    
      We allow casting const array references to const pointers so not
      allowing mut references to mut pointers was inconsistent.
    
    - mut array reference to const ptr. Example:
    
          let mut x: [usize; 2] = [0, 0];
          let p = &mut x as *const usize;
    
      This was similarly inconsistent as we allow casting mut references to
      const pointers.
    
    Existing test 'vector-cast-weirdness' updated to test both cases.
    
    Fixes rust-lang#24151
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    e1f0108 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#81734 - richkadel:fixfordash, r=pnkfelix

    Ensures `make` tests run under /bin/dash (if available), like CI, and fixes a Makefile
    
    Note: This cherrypicks rust-lang#81688 (``@pnkfelix)``
    
    Updates `tools.mk` to explicitly require `SHELL := /bin/dash`, since CI uses `dash` but other environments (including developer local machines) may default to `bash`.
    
    Replaces bash-specific shell command in one Makefile with a dash-compatible alternative, and re-enables the affected Makefile test.
    
    Removes apparently redundant definition of `UNAME`.
    
    Also see: [zulip discussion thread](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/how.20to.20run.2Fbless.20src.2Ftest.2Frun-make-fulldeps.2Fcoverage.20.3F)
    
    r? ``@pnkfelix``
    
    FYI: ``@wesleywiser`` ``@tmandry``
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    3a1c146 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#81947 - camsteffen:to-ty, r=jyn514

    Relax ItemCtxt::to_ty lifetime
    
    Tiny simplification by relaxing a lifetime.
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    7143db0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#81954 - joshtriplett:release-notes-group-pl…

    …atform-notes, r=XAMPPRocky
    
    RELEASES.md 1.50: Group platform support notes together
    
    Move the note about dropping cloudabi next to the other platform support
    changes.
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    2d7d7b4 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#81955 - dtolnay:dwp, r=Mark-Simulacrum

    bootstrap: Locate llvm-dwp based on llvm-config bindir
    
    Fixes rust-lang#81949.
    
    Tested by successfully building 1.50.0 pre-release, which is where I originally hit the issue (https://internals.rust-lang.org/t/rust-1-50-0-pre-release-testing/14012/4?u=dtolnay). Tested both with and without prebuilt LLVM. The check for dry_run is necessary in the non-prebuilt case because the llvm-config built by bootstrap won't exist yet.
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    25f1a61 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#81959 - therealprof:fix-typo, r=oli-obk

    Fix assosiated typo
    
    Introduced in d3c4dbd, noticed only
    after the fact, sorry. 😅
    
    Signed-off-by: Daniel Egger <daniel@eggers-club.de>
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    a06ccef View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#81964 - lovasoa:patch-1, r=GuillaumeGomez

    Fix documentation not showing on localStorage error
    
    Fixes rust-lang#81928
    
    The [documentation for setItem](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem) specifies:
    
    > developers should make sure to always catch possible exceptions from setItem()
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    2b19246 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#81968 - pietroalbini:fix-doc-install-path, …

    …r=Mark-Simulacrum
    
    bootstrap: fix wrong docs installation path
    
    This PR fixes rust-lang#81967, a regression introduced by rust-lang#80797. The commit has already been backported to stable 1.50.0.
    
    r? ``@Mark-Simulacrum``
    JohnTitor committed Feb 11, 2021
    Configuration menu
    Copy the full SHA
    12be68c View commit details
    Browse the repository at this point in the history