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 #82982

Merged
merged 24 commits into from
Mar 10, 2021
Merged

Rollup of 9 pull requests #82982

merged 24 commits into from
Mar 10, 2021

Commits on Jan 23, 2021

  1. Configuration menu
    Copy the full SHA
    5fe84c8 View commit details
    Browse the repository at this point in the history
  2. add test for lazy norm err

    lcnr committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    2beea2c View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Add {core,std}::prelude::{rust_2015,rust_2018,rust_2021}.

    rust_2015 and rust_2018 are just re-exports of v1.
    rust_2021 is a module that for now just re-exports everything from v1,
    such that we can add more things later.
    m-ou-se committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    1ab9fe5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3b564c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    218cf30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d274d87 View commit details
    Browse the repository at this point in the history
  5. Use intra-doc links.

    Co-authored-by: Joshua Nelson <joshua@yottadb.com>
    m-ou-se and Joshua Nelson committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    76fd8d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Remove redundant enableSearchInput function

    enableSearchInput was called from two places:
    
    - setupSearchLoader
    - addSearchOptions, which is itself called from setupSearchLoader only
    
    This commit can safely get rid of the addSearchOptions calls entirely,
    and since the setupSearchLoader call is immediately preceded by other
    method calls on search_input, there's no need to check if it's set.
    notriddle committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    28135b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2021

  1. WASI: Switch to crt1-command.o to enable support for new-style commands

    This switches Rust's WASI target to use crt1-command.o instead of
    crt1.o, which enables support for new-style commands. By default,
    new-style commands work the same way as old-style commands, so nothing
    immediately changes here, but this will be needed by later changes to
    enable support for typed arguments.
    
    See here for more information on new-style commands:
     - WebAssembly/wasi-libc#203
     - https://reviews.llvm.org/D81689
    sunfishcode committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    fdb899b View commit details
    Browse the repository at this point in the history
  2. Do not attempt to unlock envlock in child process after a fork.

    This is a breaking change for cases where the environment is
    accessed in a Command::pre_exec closure. Except for
    single-threaded programs these uses were not correct
    anyway since they aren't async-signal safe.
    the8472 committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    d854789 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. Treat header as first paragraph for shortened markdown descriptions

    "The Rust Standard LibraryThe Rust Standard Library is the …" is an awful description.
    notriddle committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    e40b3d6 View commit details
    Browse the repository at this point in the history
  2. fix: wrong word

    ltoddy committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    37543ce View commit details
    Browse the repository at this point in the history
  3. Simplify some of the rendering code in the index

    It's kinda silly using serde seq for fixed-length stuff.
    notriddle committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    66b6504 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    55c88f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0514a6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#81309 - lcnr:lazy-norm-err-msgh, r=nikomats…

    …akis
    
    always eagerly eval consts in Relate
    
    r? ```@nikomatsakis``` cc ```@varkor```
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    49bf48a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#82217 - m-ou-se:edition-prelude, r=nikomats…

    …akis
    
    Edition-specific preludes
    
    This changes `{std,core}::prelude` to export edition-specific preludes under `rust_2015`, `rust_2018` and `rust_2021`. (As suggested in rust-lang#51418 (comment).) For now they all just re-export `v1::*`, but this allows us to add things to the 2021edition prelude soon.
    
    This also changes the compiler to make the automatically injected prelude import dependent on the selected edition.
    
    cc `@rust-lang/libs` `@djc`
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    759204f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#82807 - notriddle:cleanup-js, r=jyn514

    rustdoc: Remove redundant enableSearchInput function
    
    enableSearchInput was called from two places:
    
    - setupSearchLoader
    - addSearchOptions, which is itself called from setupSearchLoader only
    
    This commit can safely get rid of the addSearchOptions calls entirely, and since the setupSearchLoader call is immediately preceded by other method calls on search_input, there's no need to check if it's set.
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    9ac57b1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#82924 - sunfishcode:wasi-command, r=alexcri…

    …chton
    
    WASI: Switch to crt1-command.o to enable support for new-style commands
    
    This switches Rust's WASI target to use crt1-command.o instead of
    crt1.o, which enables support for new-style commands. By default,
    new-style commands work the same way as old-style commands, so nothing
    immediately changes here, but this will be needed by later changes to
    enable support for typed arguments.
    
    See here for more information on new-style commands:
     - WebAssembly/wasi-libc#203
     - https://reviews.llvm.org/D81689
    
    r? ```@alexcrichton```
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    881bbb7 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#82949 - the8472:forget-envlock-on-fork, r=j…

    …oshtriplett
    
    Do not attempt to unlock envlock in child process after a fork.
    
    This implements the first two points from rust-lang#64718 (comment)
    
    This is a breaking change for cases where the environment is accessed in a Command::pre_exec closure. Except for single-threaded programs these uses were not correct anyway since they aren't async-signal safe.
    
    Note that we had a ui test that explicitly tried `env::set_var` in `pre_exec`. As expected it failed with these changes when I tested locally.
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    d01648b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b9a2570 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#82962 - notriddle:cleanup-index, r=jyn514

    Treat header as first paragraph for shortened markdown descriptions
    
    "The Rust Standard LibraryThe Rust Standard Library is the …" is an awful description.
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    5c62a18 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#82976 - RalfJung:copy-nonoverlapping, r=oli…

    …-obk
    
    fix error message for copy(_nonoverlapping) overflow
    
    Fixes an error message regression introduced in rust-lang#77511 (and adds tests).
    
    r? `@oli-obk`
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    f5196ae View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#82977 - camsteffen:opt-get-insert-def, r=m-…

    …ou-se
    
    Rename `Option::get_or_default` to `get_or_insert_default`
    
    ...as [suggested](rust-lang#82901 (comment)) by `@m-ou-se.` In hindsight this seems rather obvious, at least to me.
    
    r? `@joshtriplett`
    Dylan-DPC authored Mar 10, 2021
    Configuration menu
    Copy the full SHA
    e583132 View commit details
    Browse the repository at this point in the history