Skip to content

refactor: address MSRV todos - #15586

Merged
Legend-Master merged 8 commits into
devfrom
msrv-todos
Jul 2, 2026
Merged

refactor: address MSRV todos#15586
Legend-Master merged 8 commits into
devfrom
msrv-todos

Conversation

@Legend-Master

@Legend-Master Legend-Master commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Fix #15608

lucasfernog and others added 4 commits April 12, 2025 22:03
previous MSRV change was introduced by #11205
to follow the ecosystem and keep our dependencies up to date we must update our MSRV

currently our agreed standard is to keep MSRV to "latest - 3", which currently is 1.83
@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through 8984ab3

There are 12 changes which include tauri-utils with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-build with minor, tauri-cli with minor, tauri-macos-sign with minor, tauri-bundler with minor, tauri-driver with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.11.5
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@socket-security

socket-security Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​anyhow@​1.0.95 ⏵ 1.0.10381 +110093100100
Updatedcargo/​time@​0.3.37 ⏵ 0.3.51100100 +293100100

View full report

let bin_path = app_settings.app_binary_path(&options, tauri_dir)?;

if !std::env::var_os("STATIC_VCRUNTIME").is_some_and(|v| v == "false") {
if std::env::var_os("STATIC_VCRUNTIME").is_none_or(|v| v != "false") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This transformation is correct but the code was probably wrong to begin with; if STATIC_VCRUNTIME == true it will overwrite it with true. Probably wants is_none_or(|v| v != "true")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it, we can do it in another PR that this PR would only contain refactors without behavior changes

@Legend-Master Legend-Master added this to the 2.12 milestone Jun 28, 2026
Base automatically changed from feat/bump-msrv to dev July 2, 2026 08:40
@Legend-Master
Legend-Master marked this pull request as ready for review July 2, 2026 08:45
@Legend-Master
Legend-Master requested a review from a team as a code owner July 2, 2026 08:45
FabianLars
FabianLars previously approved these changes Jul 2, 2026
@Legend-Master

Legend-Master commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Ok, so new CVE ha https://rustsec.org/advisories/RUSTSEC-2026-0194.html, will be fixed in #15593 maybe not yet...

@Legend-Master
Legend-Master requested a review from FabianLars July 2, 2026 09:25
@Legend-Master
Legend-Master merged commit 5accfbb into dev Jul 2, 2026
31 checks passed
@Legend-Master
Legend-Master deleted the msrv-todos branch July 2, 2026 09:40
Proksima pushed a commit to Proksima/tauri that referenced this pull request Aug 5, 2026
* Update time

* Clippy and address MSRV todo comments

* Suppress RUSTSEC-2026-0194

* Ok, there're 2 quick-xml CVEs
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.

RUSTSEC-2026-0190: Unsoundness in Error::downcast_mut()

4 participants