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 7 pull requests #99305

Closed
wants to merge 21 commits into from
Closed

Commits on Jun 22, 2022

  1. Impl io::error::repr_unpacked::Repr::new

    that accepts `ErrorData<Box<Custom>>`
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    d11ff2a View commit details
    Browse the repository at this point in the history
  2. Impl io::error::repr_bitpacked::Repr::new

    that accepts `ErrorData<Box<Custom>>`
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    1713e25 View commit details
    Browse the repository at this point in the history
  3. Add new unstable API Error::try_downgrade_inner

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    e0ea0c2 View commit details
    Browse the repository at this point in the history
  4. Add new unit test test_try_downcast_inner

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    d2211c9 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Use unwrap instead of unwrap_unchecked

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    516da4c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Add std::fs::write documentation precision

    As mentioned in rust-lang#97947, the documentation is updated
    LucasDumont committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    07a0fd2 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Rename std::io::Error::try_downcast_inner to downcast

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    111253c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9da4fea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d45977 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Improve example of downcast

    Co-authored-by: Jane Losare-Lusby <jlusby42@gmail.com>
    NobodyXu and yaahc authored Jul 15, 2022
    Configuration menu
    Copy the full SHA
    d8aba10 View commit details
    Browse the repository at this point in the history
  2. Fix typo in mod.rs

    constuct -> construct
    eltociear authored Jul 15, 2022
    Configuration menu
    Copy the full SHA
    67a6c0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa3156e View commit details
    Browse the repository at this point in the history
  4. Stabilize core::ffi::CStr, alloc::ffi::CString, and friends

    Stabilize the `core_c_str` and `alloc_c_string` feature gates.
    
    Change `std::ffi` to re-export these types rather than creating type
    aliases, since they now have matching stability.
    joshtriplett committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    d6b7480 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e8a3be View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. Rollup merge of rust-lang#98358 - hoodmane:emscripten-dynlib, r=petro…

    …chenkov
    
    Implement set_output_kind for Emscripten linker
    
    This is on top of rust-lang#98149. See also the earlier discussion on rust-lang#98303. With this PR, a crate that specifies that it is a cdylib will compile to a working Emscripten dynamic library without adding any extra cargo, rustc, or linker flags and without fiddling with environment variables.
    
    `@sbc100`
    
    r? `@petrochenkov`
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    93d3b18 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#98387 - NobodyXu:feature/std_io_Error_try_d…

    …owngrade_inner, r=yaahc
    
    Add new unstable API `downcast` to `std::io::Error`
    
    rust-lang/libs-team#57
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    bced96e View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#98662 - LucasDumont:document_fs_write, r=th…

    …omcc
    
    Add std::fs::write documentation precision
    
    Fixes rust-lang#97947.
    
    As mentioned in rust-lang#97947, the documentation is updated
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    4d0df40 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#99253 - pierwill:pierwill/rm-storage-fixme,…

    … r=oli-obk
    
    Remove FIXME from MIR `always_storage_live_locals`
    
    See discussion in rust-lang#99025 (comment).
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    982d8f9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#99264 - eltociear:patch-14, r=compiler-errors

    Fix typo in mod.rs
    
    constuct -> construct
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    64fcd24 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#99270 - rhysd:issue-99269, r=Mark-Simulacrum

    Add `#[must_use]` to `Box::from_raw`
    
    Fixes rust-lang#99269
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    8ec29c7 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#99277 - joshtriplett:stabilize-core-cstr-al…

    …loc-cstring, r=Mark-Simulacrum
    
    Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends
    
    Stabilize the `core_c_str` and `alloc_c_string` feature gates.
    
    Change `std::ffi` to re-export these types rather than creating type
    aliases, since they now have matching stability.
    JohnTitor authored Jul 16, 2022
    Configuration menu
    Copy the full SHA
    512922a View commit details
    Browse the repository at this point in the history