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 6 pull requests #102413

Closed
wants to merge 21 commits into from
Closed

Commits on Aug 29, 2022

  1. Make std::os::fd public.

    `std::os::fd` defines types like `OwnedFd` and `RawFd` and is common
    between Unix and non-Unix platforms that share a basic file-descriptor
    concept. Rust currently uses this internally to simplify its own code,
    but it would be useful for external users in the same way, so make it
    public.
    
    This means that `OwnedFd` etc. will all appear in three places, for
    example on unix platforms:
     - `std::os::fd::OwnedFd`
     - `std::os::unix::io::OwnedFd`
     - `std::os::unix::prelude::OwnedFd`
    sunfishcode committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    c846a2a View commit details
    Browse the repository at this point in the history
  2. Update asrawfd.js.

    sunfishcode committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    09bbc42 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bda1262 View commit details
    Browse the repository at this point in the history
  4. Re-introduce unstable attributes.

    Add `#[unstable(feature = "os_fd", issue = "98699")]` to the new
    `pub use` declarations.
    sunfishcode committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    7d80510 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

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

Commits on Sep 21, 2022

  1. Configuration menu
    Copy the full SHA
    f9ef7e2 View commit details
    Browse the repository at this point in the history
  2. add trivial comments

    chenyukang committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    7adfb44 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2022

  1. Configuration menu
    Copy the full SHA
    fdda7e0 View commit details
    Browse the repository at this point in the history
  2. trivial fix on fallback

    chenyukang committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    db0877f View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Format type_of

    compiler-errors committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    cca4828 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05267b5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92561f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Don't export __heap_base and __data_end on wasm32-wasi.

    `__heap_base` and `__data_end` are exported for use by wasm-bindgen, which
    uses the wasm32-unknown-unknown target. On wasm32-wasi, as a step toward
    implementing the Canonical ABI, and as an aid to building speicalized WASI
    API polyfill wrappers, don't export `__heap_base` and `__data_end` on
    wasm32-wasi.
    sunfishcode committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    7f06d51 View commit details
    Browse the repository at this point in the history
  2. add regression test

    Rageking8 committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    356a52c View commit details
    Browse the repository at this point in the history
  3. errors: rename typeck.ftl to hir_analysis.ftl

    In rust-lang#102306, `rustc_typeck` was renamed to `rustc_hir_analysis` but the
    diagnostic resources were not renamed - which is what this commit
    changes.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    715d61d View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#98368 - sunfishcode:sunfishcode/std-os-fd, …

    …r=joshtriplett
    
    Make `std::os::fd` public.
    
    `std::os::fd` defines types like `OwnedFd` and `RawFd` and is common
    between Unix and non-Unix platforms that share a basic file-descriptor
    concept. Rust currently uses this internally to simplify its own code,
    but it would be useful for external users in the same way, so make it
    public.
    
    This means that `OwnedFd` etc. will all appear in three places, for
    example on unix platforms:
     - `std::os::fd::OwnedFd`
     - `std::os::unix::io::OwnedFd`
     - `std::os::unix::prelude::OwnedFd`
    
    r? ``@joshtriplett``
    Dylan-DPC authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    c76cda9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#102085 - chenyukang:code-refactor, r=cjgillot

    Code refactoring smart_resolve_report_errors
    
    `smart_resolve_report_errors` https://github.com/rust-lang/rust/blob/4ecfdfac51b159f68fce608792affb34a70e6f73/compiler/rustc_resolve/src/late/diagnostics.rs#L143
    is almost 600 lines of code, we should do some code refactoring.
    Dylan-DPC authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    528956c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#102336 - compiler-errors:issue-102333, r=ja…

    …ckh726
    
    Fix associated type bindings with anon const in GAT position
    
    The first commit formats `type_of.rs`, which is really hard to maintain since it uses a bunch of features like `let`-chains and `if let` match arm bindings. Best if you just review the second two diffs.
    
    Fixes rust-lang#102333
    Dylan-DPC authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    d049c3e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#102385 - sunfishcode:sunfishcode/wasm-no-ex…

    …port-heap-base, r=davidtwco
    
    Don't export `__heap_base` and `__data_end` on wasm32-wasi.
    
    `__heap_base` and `__data_end` are exported for use by wasm-bindgen, which uses the wasm32-unknown-unknown target. On wasm32-wasi, as a step toward implementing the Canonical ABI, and as an aid to building speicalized WASI API polyfill wrappers, don't export `__heap_base` and `__data_end` on wasm32-wasi.
    Dylan-DPC authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    9c4b247 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#102393 - Rageking8:add-regression-test-for-…

    …issue-94923, r=JohnTitor
    
    Add regression test for issue 94923
    
    Fixes rust-lang#94923
    Dylan-DPC authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    d72a105 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#102395 - davidtwco:translation-rename-typec…

    …k, r=estebank
    
    errors: rename `typeck.ftl` to `hir_analysis.ftl`
    
    In rust-lang#102306, `rustc_typeck` was renamed to `rustc_hir_analysis` but the diagnostic resources were not renamed - which is what this pull request changes.
    Dylan-DPC authored Sep 28, 2022
    Configuration menu
    Copy the full SHA
    51743a2 View commit details
    Browse the repository at this point in the history