Skip to content

Commit 0ab2b33

Browse files
authored
fix: downgrade MSRV to 1.77.2 to support Windows 7 (#11205)
* fix: downgrade MSRV to 1.77.2 to support Windows 7 * add chang file
1 parent 983e780 commit 0ab2b33

File tree

19 files changed

+65
-37
lines changed

19 files changed

+65
-37
lines changed

.changes/msrv-1.77.2.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"tauri": patch:changes
3+
"tauri-utils": patch:changes
4+
"tauri-runtime": patch:changes
5+
"tauri-runtime-wry": patch:changes
6+
"tauri-codegen": patch:changes
7+
"tauri-macros": patch:changes
8+
"tauri-plugin": patch:changes
9+
"tauri-build": patch:changes
10+
"tauri-cli": patch:changes
11+
"tauri-macos-sign": patch:changes
12+
"tauri-bundler": patch:changes
13+
"tauri-driver": patch:changes
14+
---
15+
16+
Downgrade MSRV to 1.77.2 to support Windows.

.github/workflows/test-core.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,35 +37,35 @@ jobs:
3737
- {
3838
target: x86_64-pc-windows-msvc,
3939
os: windows-latest,
40-
toolchain: '1.78.0',
40+
toolchain: '1.77.2',
4141
cross: false,
4242
command: 'test'
4343
}
4444
- {
4545
target: x86_64-unknown-linux-gnu,
4646
os: ubuntu-latest,
47-
toolchain: '1.78.0',
47+
toolchain: '1.77.2',
4848
cross: false,
4949
command: 'test'
5050
}
5151
- {
5252
target: aarch64-apple-darwin,
5353
os: macos-14,
54-
toolchain: '1.78.0',
54+
toolchain: '1.77.2',
5555
cross: false,
5656
command: 'test'
5757
}
5858
- {
5959
target: aarch64-apple-ios,
6060
os: macos-latest,
61-
toolchain: '1.78.0',
61+
toolchain: '1.77.2',
6262
cross: false,
6363
command: 'build'
6464
}
6565
- {
6666
target: aarch64-linux-android,
6767
os: ubuntu-latest,
68-
toolchain: '1.78.0',
68+
toolchain: '1.77.2',
6969
cross: true,
7070
command: 'build'
7171
}
@@ -88,6 +88,16 @@ jobs:
8888
sudo apt-get update
8989
sudo apt-get install -y webkit2gtk-4.1 libxdo-dev libayatana-appindicator3-dev
9090
91+
- name: downgrade crates with MSRV conflict
92+
run: |
93+
cargo update -p ravif --precise 0.11.5
94+
cargo update -p aws-config --precise 1.5.5
95+
cargo update -p aws-sdk-ssooidc --precise 1.40.0
96+
cargo update -p aws-sdk-s3 --precise 1.46.0
97+
cargo update -p aws-sdk-sts --precise 1.39.0
98+
cargo update -p aws-sdk-sso --precise 1.39.0
99+
cargo update -p bitstream-io --precise 2.3.0
100+
91101
- uses: Swatinem/rust-cache@v2
92102
with:
93103
prefix-key: v2

Cargo.lock

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repository = "https://github.com/tauri-apps/tauri"
4343
categories = ["gui", "web-programming"]
4444
license = "Apache-2.0 OR MIT"
4545
edition = "2021"
46-
rust-version = "1.78"
46+
rust-version = "1.77.2"
4747

4848
# default to small, optimized workspace release binaries
4949
[profile.release]

bench/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "tauri_bench"
33
version = "0.1.0"
44
authors = ["Tauri Programme within The Commons Conservancy"]
55
edition = "2021"
6-
rust-version = "1.78"
6+
rust-version = "1.77.2"
77
license = "Apache-2.0 OR MIT"
88
description = "Cross-platform WebView rendering library"
99
repository = "https://github.com/tauri-apps/wry"

bench/tests/cpu_intensive/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "bench_cpu_intensive"
33
version = "0.1.0"
44
description = "A very simple Tauri Application"
55
edition = "2021"
6-
rust-version = "1.78"
6+
rust-version = "1.77.2"
77

88
[build-dependencies]
99
tauri-build = { path = "../../../../crates/tauri-build", features = [

bench/tests/files_transfer/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "bench_files_transfer"
33
version = "0.1.0"
44
description = "A very simple Tauri Application"
55
edition = "2021"
6-
rust-version = "1.78"
6+
rust-version = "1.77.2"
77

88
[build-dependencies]
99
tauri-build = { path = "../../../../crates/tauri-build", features = [

bench/tests/helloworld/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "bench_helloworld"
33
version = "0.1.0"
44
description = "A very simple Tauri Application"
55
edition = "2021"
6-
rust-version = "1.78"
6+
rust-version = "1.77.2"
77

88
[build-dependencies]
99
tauri-build = { path = "../../../../crates/tauri-build", features = [

crates/tauri-bundler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keywords = ["bundle", "cargo", "tauri"]
1111
repository = "https://github.com/tauri-apps/tauri"
1212
description = "Wrap rust executables in OS-specific app bundles for Tauri"
1313
edition = "2021"
14-
rust-version = "1.78"
14+
rust-version = "1.77.2"
1515
exclude = ["CHANGELOG.md", "/target", "rustfmt.toml"]
1616

1717
[dependencies]

crates/tauri-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "tauri-cli"
33
version = "2.0.0"
44
authors = ["Tauri Programme within The Commons Conservancy"]
55
edition = "2021"
6-
rust-version = "1.78"
6+
rust-version = "1.77.2"
77
categories = ["gui", "web-programming"]
88
license = "Apache-2.0 OR MIT"
99
homepage = "https://tauri.app"

0 commit comments

Comments
 (0)