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 11 pull requests #76377

Closed
wants to merge 25 commits into from

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    81e85ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b75e3d View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Add missing link in README

    camelid committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    8783c62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e29fdb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    791f93c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2278c72 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Configuration menu
    Copy the full SHA
    2bc4c03 View commit details
    Browse the repository at this point in the history
  2. Remove a useless allowed attr

    tesuji committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    a3ee65f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2fbf39 View commit details
    Browse the repository at this point in the history
  4. Implementation of incompatible features error

    If two features are defined as incompatible, using them together would
    result in an error
    Amjad50 committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    8f2d906 View commit details
    Browse the repository at this point in the history
  5. Account for version number in NtIdent hack

    Issue rust-lang#74616 tracks a backwards-compatibility hack for certain macros.
    This has is implemented by hard-coding the filenames and macro names of
    certain code that we want to continue to compile.
    
    However, the initial implementation of the hack was based on the
    directory structure when building the crate from its repository (e.g.
    `js-sys/src/lib.rs`). When the crate is build as a dependency, it will
    include a version number from the clone from the cargo registry (e.g.
    `js-sys-0.3.17/src/lib.rs`), which would fail the check.
    
    This commit modifies the backwards-compatibility hack to check that
    desired crate name (`js-sys` or `time-macros-impl`) is a prefix of the
    proper part of the path.
    
    See rust-lang#76070 (comment)
    for more details.
    Aaron1011 committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    9e7ef65 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ceffb46 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2020

  1. rename MaybeUninit slice methods

    first_ptr -> slice_as_ptr
    first_ptr_mut -> slice_as_mut_ptr
    slice_get_ref -> slice_assume_init_ref
    slice_get_mut -> slice_assume_init_mut
    RalfJung committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    cff5f56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3506832 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#76128 - poliorcetics:doc-use-arc-clone, r=K…

    …odrAus
    
    Use Arc::clone and Rc::clone in documentation
    
    This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
    
    @rustbot modify labels: T-doc
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    9c0fe54 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#76217 - RalfJung:maybe-uninit-slice, r=KodrAus

    rename MaybeUninit slice methods
    
    The `first` methods conceptually point to the whole slice, not just its first element, so rename them to be consistent with the raw ptr methods on ref-slices.
    
    Also, do the equivalent of rust-lang#76047 for the slice reference getters, and make them part of rust-lang#63569 (so far they somehow had no tracking issue).
    
    * first_ptr -> slice_as_ptr
    * first_ptr_mut -> slice_as_mut_ptr
    * slice_get_ref -> slice_assume_init_ref
    * slice_get_mut -> slice_assume_init_mut
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    fa61b8e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#76229 - camelid:patch-3, r=jonas-schievink

    Add missing link in README
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    984e417 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76273 - CraftSpider:master, r=matklad

    Move some Vec UI tests into alloc unit tests
    
    A bit of work towards rust-lang#76268, makes a number of the Vec UI tests that are simply running code into unit tests. Ensured that they are being run when testing liballoc locally.
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    c5444df View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76274 - scottmcm:fix-76271, r=petrochenkov

    Allow try blocks as the argument to return expressions
    
    Fixes rust-lang#76271
    
    I don't think this needs to be edition-aware (phew) since `return try` in 2015 is also the start of an expression, just with a struct literal instead of a block (`return try { x: 4, y: 5 }`).
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    6ff4b80 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76287 - lzutao:rm-allowed, r=jyn514

    Remove an unnecessary allowed lint
    
    It is outdated.
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    efea057 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76293 - Amjad50:incompatible_features_error…

    …, r=lcnr
    
    Implementation of incompatible features error
    
    Proposal of a new error: Incompatible features
    
    This error should happen if two features which are not compatible are used together.
    
    For now the only incompatible features are `const_generics` and `min_const_generics`
    
    fixes rust-lang#76280
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    600a080 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#76307 - sunfishcode:wasm-no-eh-frame-header…

    …, r=alexcrichton
    
    Disable use of `--eh-frame-hdr` on wasm32.
    
    Set wasm32's `TargetOptions::eh_frame_header` to false so that we don't pass `--eh-frame-hdr` to `wasm-ld`, which doesn't support that flag.
    
    r? @alexcrichton
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    055815b View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#76326 - mati865:use_lld-no-linker, r=Mark-S…

    …imulacrum
    
    Fix rust.use-lld when linker is not set
    
    Fixes rust-lang#76127 (comment)
    
    Previously when `[<target>].linker` was not configured `rust.use-lld` would set it to `rust-lld` on platforms where it should not.
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    16e7251 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#76331 - Aaron1011:fix/group-compat-hack-tes…

    …t, r=petrochenkov
    
    Account for version number in NtIdent hack
    
    Issue rust-lang#74616 tracks a backwards-compatibility hack for certain macros.
    This has is implemented by hard-coding the filenames and macro names of
    certain code that we want to continue to compile.
    
    However, the initial implementation of the hack was based on the
    directory structure when building the crate from its repository (e.g.
    `js-sys/src/lib.rs`). When the crate is build as a dependency, it will
    include a version number from the clone from the cargo registry (e.g.
    `js-sys-0.3.17/src/lib.rs`), which would fail the check.
    
    This commit modifies the backwards-compatibility hack to check that
    desired crate name (`js-sys` or `time-macros-impl`) is a prefix of the
    proper part of the path.
    
    See rust-lang#76070 (comment)
    for more details.
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    0ac652b View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#76341 - richkadel:ignore-gcc-destructor-pri…

    …ority, r=cuviper
    
    Update llvm-project to include PR 73
    
    rust-lang/llvm-project#73
    
    r? @cuviper
    Dylan-DPC committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    1410253 View commit details
    Browse the repository at this point in the history