Skip to content

Comments

chore(deps): update dependency rust to v1.91.0#6783

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/rust-toolchain
Closed

chore(deps): update dependency rust to v1.91.0#6783
renovate[bot] wants to merge 1 commit intomainfrom
renovate/rust-toolchain

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 31, 2025

This PR contains the following updates:

Package Update Change
rust minor 1.90.0 -> 1.91.0

Release Notes

rust-lang/rust (rust)

v1.91.0

Compare Source

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

Language

Compiler

Platform Support

Refer to Rust's platform support page
for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

These previously stable APIs are now stable in const contexts:

Cargo

  • 🎉 Stabilize build.build-dir.
    This config sets the directory where intermediate build artifacts are stored.
    These artifacts are produced by Cargo and rustc during the build process.
    End users usually won't need to interact with them, and the layout inside
    build-dir is an implementation detail that may change without notice.
    (config doc)
    (build cache doc)
    #​15833
    #​15840
  • The --target flag and the build.target configuration can now take literal
    "host-tuple" string, which will internally be substituted by the host
    machine's target triple.
    #​15838
    #​16003
    #​16032

Rustdoc

Compatibility Notes

Cargo compatibility notes:

  • cargo publish no longer keeps .crate tarballs as final build artifacts
    when build.build-dir is set. These tarballs were previously included due to
    an oversight and are now treated as intermediate artifacts.
    To get .crate tarballs as final artifacts, use cargo package.
    In a future version, this change will apply regardless of build.build-dir.
    #​15910
  • Adjust Cargo messages to match rustc diagnostic style.
    This changes some of the terminal colors used by Cargo messages.
    #​15928
  • Tools and projects relying on the
    internal details of Cargo's build-dir
    may not work for users changing their build-dir layout.
    For those doing so, we'd recommend proactively testing these cases
    particularly as we are considering changing the default location of the build-dir in the future
    (cargo#16147).
    If you can't migrate off of Cargo's internal details,
    we'd like to learn more about your use case as we prepare to change the layout of the build-dir
    (cargo#15010).

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: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) October 31, 2025 00:00
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 31, 2025

How to use the Graphite Merge Queue

Add the label graphite: merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@netlify
Copy link

netlify bot commented Oct 31, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 8cf88f6
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/69044fbbee91960008f10f66

@github-actions
Copy link
Contributor

github-actions bot commented Oct 31, 2025

Benchmarks Rust

group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.03     68.8±2.20ms        ? ?/sec    1.00     66.6±2.18ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.02     75.0±2.14ms        ? ?/sec    1.00     73.3±2.40ms        ? ?/sec
bundle/bundle@rome_ts                                        1.02    111.3±4.39ms        ? ?/sec    1.00    109.0±2.11ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    123.0±1.83ms        ? ?/sec    1.00    123.2±2.32ms        ? ?/sec
bundle/bundle@threejs                                        1.00     38.7±0.86ms        ? ?/sec    1.06     41.0±2.38ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.02     44.3±1.06ms        ? ?/sec    1.00     43.3±0.69ms        ? ?/sec
bundle/bundle@threejs10x                                     1.01    398.4±6.08ms        ? ?/sec    1.00    394.5±4.42ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.01    460.7±5.83ms        ? ?/sec    1.00    456.1±4.84ms        ? ?/sec
scan/scan@rome_ts                                            1.00     88.3±1.92ms        ? ?/sec    1.00     88.1±2.62ms        ? ?/sec
scan/scan@threejs                                            1.01     29.8±0.55ms        ? ?/sec    1.00     29.6±0.53ms        ? ?/sec
scan/scan@threejs10x                                         1.00    301.9±4.03ms        ? ?/sec    1.01    305.6±4.35ms        ? ?/sec

@shulaoda shulaoda self-assigned this Oct 31, 2025
@renovate renovate bot force-pushed the renovate/rust-toolchain branch 2 times, most recently from 8d1bb76 to efa1a8c Compare October 31, 2025 04:32
@renovate renovate bot force-pushed the renovate/rust-toolchain branch from efa1a8c to 8cf88f6 Compare October 31, 2025 05:57
@IWANABETHATGUY IWANABETHATGUY assigned Copilot and unassigned Copilot Oct 31, 2025
@hyf0 hyf0 closed this in #6785 Oct 31, 2025
hyf0 added a commit that referenced this pull request Oct 31, 2025
Upgrades Rust toolchain from 1.90.0 to 1.91.0 and resolves new clippy
warnings introduced in this version.

## Changes

- **`clippy::implicit_clone`** (27 instances): Replace `.to_string()` on
`&String` with `.clone()`
  ```rust
  // Before
  Some(self.filename.to_string())
  
  // After
  Some(self.filename.clone())
  ```

- **`clippy::derivable_impls`** (4 instances): Replace manual `Default`
impls with derived implementations
  ```rust
  // Before
  pub enum ChunkKind {
    EntryPoint { ... },
    Common,
  }
  
  impl Default for ChunkKind {
    fn default() -> Self { Self::Common }
  }
  
  // After
  #[derive(Debug, Default)]
  pub enum ChunkKind {
    EntryPoint { ... },
    #[default]
    Common,
  }
  ```

Files modified: 20 source files across `rolldown_error`,
`rolldown_debug`, `rolldown_common`, `rolldown_plugin`,
`rolldown_binding`, and core `rolldown` crates.

<!-- START COPILOT CODING AGENT SUFFIX -->



<details>

<summary>Original prompt</summary>

> See #6783. Upgrade rust and
fix lint erors of `just lint-rust`


</details>



<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: hyf0 <[email protected]>
auto-merge was automatically disabled October 31, 2025 06:44

Pull request was closed

@renovate renovate bot deleted the renovate/rust-toolchain branch October 31, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants