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

feat(github/rust): update 1.80.1 ➼ 1.83.0 #1054

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tinfoild[bot]
Copy link
Contributor

@tinfoild tinfoild bot commented Sep 5, 2024

This PR contains the following updates:

Package Update Change OpenSSF
rust minor 1.80.1 -> 1.83.0 OpenSSF Scorecard

Release Notes

rust-lang/rust (rust)

v1.83.0

Compare Source

==========================

Language

Compiler

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Rustdoc

Compatibility Notes

v1.82.0

Compare Source

==========================

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Compatibility Notes

  • We now disallow setting some built-in cfgs via the command-line with the newly added explicit_builtin_cfgs_in_flags lint in order to prevent incoherent state, eg. windows cfg active but target is Linux based. The appropriate rustc flag should be used instead.
  • The standard library has a new implementation of binary_search which is significantly improves performance (#​128254). However when a sorted slice has multiple values which compare equal, the new implementation may select a different value among the equal ones than the old implementation.
  • illumos/Solaris now sets MSG_NOSIGNAL when writing to sockets. This avoids killing the process with SIGPIPE when writing to a closed socket, which matches the existing behavior on other UNIX targets.
  • Removes a problematic hack that always passed the --whole-archive linker flag for tests, which may cause linker errors for code accidentally relying on it.
  • The WebAssembly target features multivalue and reference-types are now
    both enabled by default. These two features both have subtle changes implied
    for generated WebAssembly binaries. For the multivalue feature, WebAssembly
    target support has changed when upgrading to LLVM 19. Support for generating
    functions with multiple returns no longer works and
    -Ctarget-feature=+multivalue has a different meaning than it did in LLVM 18
    and prior. There is no longer any supported means to generate a module that has
    a function with multiple returns in WebAssembly from Rust source code. For the
    reference-types feature the encoding of immediates in the call_indirect, a
    commonly used instruction by the WebAssembly backend, has changed. Validators
    and parsers which don't understand the reference-types proposal will no
    longer accept modules produced by LLVM due to this change in encoding of
    immediates. Additionally these features being enabled are encoded in the
    target_features custom section and may affect downstream tooling such as
    wasm-opt consuming the module. Generating a WebAssembly module that disables
    default features requires -Zbuild-std support from Cargo and more information
    can be found at
    rust-lang/rust#128511.
  • Rust now raises unsafety errors for union patterns in parameter-position

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.

v1.81.0

Compare Source

==========================

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Compatibility Notes

  • Usage of the wasm32-wasi target will now issue a compiler warning and request users switch to the wasm32-wasip1 target instead. Both targets are the same, wasm32-wasi is only being renamed, and this change to the WASI target is being done to enable removing wasm32-wasi in January 2025.

  • We have renamed std::panic::PanicInfo to std::panic::PanicHookInfo. The old name will continue to work as an alias, but will result in a deprecation warning starting in Rust 1.82.0.

    core::panic::PanicInfo will remain unchanged, however, as this is now a different type.

    The reason is that these types have different roles: std::panic::PanicHookInfo is the argument to the panic hook in std context (where panics can have an arbitrary payload), while core::panic::PanicInfo is the argument to the #[panic_handler] in no_std context (where panics always carry a formatted message). Separating these types allows us to add more useful methods to these types, such as std::panic::PanicHookInfo::payload_as_str() and core::panic::PanicInfo::message().

  • The new sort implementations may panic if a type's implementation of Ord (or the given comparison function) does not implement a total order as the trait requires. Ord's supertraits (PartialOrd, Eq, and PartialEq) must also be consistent. The previous implementations would not "notice" any problem, but the new implementations have a good chance of detecting inconsistencies, throwing a panic rather than returning knowingly unsorted data.

  • In very rare cases, a change in the internal evaluation order of the trait
    solver may result in new fatal overflow errors.

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

cloudflare-workers-and-pages bot commented Sep 5, 2024

Deploying jjgadgets-biohazard with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1ea92d6
Status: ✅  Deploy successful!
Preview URL: https://f06d74e8.jjgadgets-biohazard.pages.dev
Branch Preview URL: https://renovate-rust-1-x.jjgadgets-biohazard.pages.dev

View logs

@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch 5 times, most recently from 90c43d9 to e9c5843 Compare September 30, 2024 09:33
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from e9c5843 to 056d39c Compare October 1, 2024 13:11
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch 3 times, most recently from 9b5fec6 to 5f93e5c Compare October 1, 2024 13:39
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch 3 times, most recently from 499a593 to dcc110b Compare October 17, 2024 16:52
@tinfoild tinfoild bot changed the title feat(github-release): update rust to 1.81.0 feat(github-release): update rust to 1.82.0 Oct 17, 2024
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from dcc110b to b6bf4d1 Compare October 22, 2024 04:50
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from b6bf4d1 to cec30c7 Compare November 17, 2024 10:07
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from cec30c7 to 79ac433 Compare November 28, 2024 14:08
@tinfoild tinfoild bot changed the title feat(github-release): update rust to 1.82.0 feat(github-release): update rust to 1.83.0 Nov 28, 2024
@tinfoild tinfoild bot changed the title feat(github-release): update rust to 1.83.0 feat(github/rust): update ➼ 1.83.0 Dec 4, 2024
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from 79ac433 to 66ffb82 Compare December 4, 2024 11:43
@tinfoild tinfoild bot changed the title feat(github/rust): update ➼ 1.83.0 feat(github/rust): update 1.80.1 ➼ 1.83.0 Dec 4, 2024
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from 66ffb82 to 7ac1e8c Compare December 5, 2024 10:01
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch 4 times, most recently from 94faabe to f96ca54 Compare December 6, 2024 15:42
@tinfoild tinfoild bot force-pushed the renovate/rust-1.x branch from f96ca54 to 1ea92d6 Compare December 16, 2024 05:10
@tinfoild tinfoild bot changed the title feat(github/rust): update 1.80.1 ➼ 1.83.0 chore(deps): update dependency rust to v1.83.0 Dec 16, 2024
@tinfoild tinfoild bot changed the title chore(deps): update dependency rust to v1.83.0 feat(github/rust): update 1.80.1 ➼ 1.83.0 Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants