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

Merged
merged 21 commits into from
Jan 27, 2022
Merged

Rollup of 7 pull requests #93352

merged 21 commits into from
Jan 27, 2022

Commits on Dec 19, 2021

  1. Configuration menu
    Copy the full SHA
    50d17df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c1b4d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Configuration menu
    Copy the full SHA
    7430a55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55b6108 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    032c545 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

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

Commits on Jan 21, 2022

  1. Configuration menu
    Copy the full SHA
    c3e92fe View commit details
    Browse the repository at this point in the history
  2. fs: Use readdir() instead of readdir_r() on Linux

    readdir() is preferred over readdir_r() on Linux and many other
    platforms because it more gracefully supports long file names.  Both
    glibc and musl (and presumably all other Linux libc implementations)
    guarantee that readdir() is thread-safe as long as a single DIR* is not
    accessed concurrently, which is enough to make a readdir()-based
    implementation of ReadDir safe.  This implementation is already used for
    some other OSes including Fuchsia, Redox, and Solaris.
    
    See rust-lang#40021 for more details.  Fixes rust-lang#86649.  Fixes rust-lang#34668.
    tavianator committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    bc04a4e View commit details
    Browse the repository at this point in the history
  3. fs: Use readdir() instead of readdir_r() on Android

    Bionic also guarantees that readdir() is thread-safe enough.
    tavianator committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    3eeb3ca View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Configuration menu
    Copy the full SHA
    fdf7d01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b76cad View commit details
    Browse the repository at this point in the history
  3. Update src/doc/rustc/src/linker-plugin-lto.md

    Co-authored-by: Noah Lev <camelidcamel@gmail.com>
    nico-abram and camelid authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    b75cb95 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Improve Duration::try_from_secs_f32/64 accuracy by directly processin…

    …g exponent and mantissa
    newpavlov committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    e0bcf77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91f3931 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#90247 - newpavlov:duration_float_fract, r=n…

    …agisa
    
    Improve Duration::try_from_secs_f32/64 accuracy by directly processing exponent and mantissa
    
    Closes: rust-lang#90225
    
    The methods now implement direct processing of exponent and mantissa, which should result in the best possible conversion accuracy (modulo truncation, i.e. float value of 19.995 ns will be represented as 19 ns).
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    faf2b7f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#91861 - juniorbassani:use-from-array-in-col…

    …lections-examples, r=yaahc
    
    Replace iterator-based construction of collections by `Into<T>`
    
    Just a few quality of life improvements in the doc examples. I also removed some `Vec`s in favor of arrays.
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    1dd0ac1 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#92098 - semarie:openbsd-platform, r=pietroa…

    …lbini
    
    add OpenBSD platform-support page
    
    It mentions x86_64, i686, aarch64 and sparc64 which are actively maintained and used on OpenBSD (binaries provided by standard package distribution on OpenBSD).
    
    I volontary kept `powerpc-unknown-openbsd` unmentioned as it was added by `@Yn0ga` in rust-lang#82733, and I am unaware if it is functional or not (I doubt as I added libc support only few days ago, and std `c_char` signess was wrong). `@Yn0ga` maybe you comment on your `powerpc-unknown-openbsd` usage ?
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    75eb963 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#92134 - nico-abram:patch-1, r=michaelwoerister

    Add x86_64-pc-windows-msvc linker-plugin-lto instructions
    
    I had some trouble getting cross language LTO working for this target, in part because the very few links of documentation I could find were linux-centric and because of a few very specific errors I ran into. I'm not sure if this is the correct place to document this, but this is one of the first links I found when looking for documentation so it might be the best place for it.
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    e249812 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#92256 - fee1-dead:improve-selection-err, r=…

    …oli-obk
    
    Improve selection errors for `~const` trait bounds
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    e2b2bfe View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#92778 - tavianator:linux-readdir-no-r, r=jo…

    …shtriplett
    
    fs: Use readdir() instead of readdir_r() on Linux and Android
    
    See rust-lang#40021 for more details.  Fixes rust-lang#86649.  Fixes rust-lang#34668.
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    253f64c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#93338 - GuillaumeGomez:update-minifier, r=n…

    …otriddle
    
    Update minifier crate version to 0.0.42
    
    Some issues on the CSS minification.
    
    r? `@notriddle`
    matthiaskrgr authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    4276626 View commit details
    Browse the repository at this point in the history