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 8 pull requests #78640

Closed
wants to merge 20 commits into from
Closed

Commits on Oct 14, 2020

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

Commits on Oct 30, 2020

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

Commits on Oct 31, 2020

  1. Implement -Z relax-elf-relocations=yes|no

    This lets rustc users tweak whether the linker should relax ELF relocations,
    namely whether it should emit R_X86_64_GOTPCRELX relocations instead of
    R_X86_64_GOTPCREL, as the former is allowed by the ABI to be further
    optimised. The default value is whatever the target defines.
    nox committed Oct 31, 2020
    Configuration menu
    Copy the full SHA
    6febaf2 View commit details
    Browse the repository at this point in the history
  2. Clarify handling of final line ending in str::lines()

    I found the description as it stands a bit confusing. I've added a bit more explanation to make it clear that a trailing line ending does not produce a final empty line.
    autarch authored Oct 31, 2020
    Configuration menu
    Copy the full SHA
    47279b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b63e9b View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Trivial fixes to bitwise operator documentation

    Added fixes to documentation of `BitAnd`, `BitOr`, `BitXor` and
    `BitAndAssign`, where the documentation for implementation on
    `Vector<bool>` was using logical operators in place of the bitwise
    operators.
    
    r? @steveklabnik
    cc rust-lang#78619
    gabhijit committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    66d68cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c88bcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d422e24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2d7b3a View commit details
    Browse the repository at this point in the history
  5. Point out that total_cmp is no strict superset of partial comparison

    Partial comparison and total_cmp are not equal. This helps
    preventing the mistake of creating float wrappers that
    base their Ord impl on total_cmp and their PartialOrd impl on
    the PartialOrd impl of the float type. PartialOrd and Ord
    are required to agree with each other.
    est31 committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    a79059d View commit details
    Browse the repository at this point in the history
  6. Add fetch_update methods to AtomicBool and AtomicPtr

    These methods were stabilized for the integer atomics in rust-lang#71843, but the methods
    were not added for the non-integer atomics `AtomicBool` and `AtomicPtr`.
    mystor committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    00f32e6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#77950 - arlosi:sha256, r=eddyb

    Add support for SHA256 source file hashing
    
    Adds support for `-Z src-hash-algorithm sha256`, which became available in LLVM 11.
    
    Using an older version of LLVM will cause an error `invalid checksum kind` if the hash algorithm is set to sha256.
    
    r? @eddyb
    cc rust-lang#70401 @est31
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    3508fa5 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#78575 - tmiasko:compiletest-rustc-env, r=Aa…

    …ron1011
    
    Add a test for compiletest rustc-env & unset-rustc-env directives
    
    ... and move compiletest meta tests into a separate directory.
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    4a1aec9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#78605 - nox:relax-elf-relocations, r=nagisa

    Implement -Z relax-elf-relocations=yes|no
    
    This lets rustc users tweak whether the linker should relax ELF relocations without recompiling a whole new target with its own libcore etc.
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    92fa615 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#78606 - autarch:patch-1, r=m-ou-se

    Clarify handling of final line ending in str::lines()
    
    I found the description as it stands a bit confusing. I've added a bit more explanation to make it clear that a trailing line ending does not produce a final empty line.
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    68ddcad View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#78610 - petrochenkov:nostriptok, r=Aaron1011

    Do not remove tokens before AST json serialization
    
    `TokenStripper` is error-prone and introduces one more use of `MutVisitor`.
    It's much simpler to treat serialization as just one more place that wants lazy token stream to turn into a real token stream.
    Also, no code is better than more code, in general.
    r? @Aaron1011
    
    (I also merged tests for `TokenStripper` ICEs into one.)
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    b5075b7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#78620 - gabhijit:bitops_doc_fix, r=m-ou-se

    Trivial fixes to bitwise operator documentation
    
    Added fixes to documentation of `BitAnd`, `BitOr`, `BitXor` and
    `BitAndAssign`, where the documentation for implementation on
    `Vector<bool>` was using logical operators in place of the bitwise
    operators.
    
    r? @steveklabnik
    cc rust-lang#78619
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    c43eb4a View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#78627 - est31:total_cmp_no_superset, r=m-ou-se

    Point out that total_cmp is no strict superset of partial comparison
    
    Partial comparison and total_cmp are not equal. This helps
    preventing the mistake of creating float wrappers that
    base their Ord impl on total_cmp and their PartialOrd impl on
    the PartialOrd impl of the float type. PartialOrd and Ord
    [are required to agree with each other](https://doc.rust-lang.org/std/cmp/trait.Ord.html#how-can-i-implement-ord).
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    9a2caba View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#78637 - mystor:atomic_ptr_bool, r=m-ou-se

    Add fetch_update methods to AtomicBool and AtomicPtr
    
    These methods were stabilized for the integer atomics in rust-lang#71843, but the methods were not added for the non-integer atomics `AtomicBool` and `AtomicPtr`.
    m-ou-se authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    53eed5a View commit details
    Browse the repository at this point in the history