Skip to content

Commit 28169ae

Browse files
fix(cli): Fix crate type (#11080)
* Fix crate type Fixes #9547 * Fix crate type Fixes #9547 * Fix crate type Fixes #9547 * Fix crate type Fixes #9547
1 parent 62b3a5c commit 28169ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/tauri-cli/templates/app/src-tauri/Cargo.crate-manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rust-version = "1.71"
1212

1313
[lib]
1414
name = "app_lib"
15-
crate-type = ["staticlib", "cdylib", "lib"]
15+
crate-type = ["staticlib", "cdylib", "rlib"]
1616

1717
[build-dependencies]
1818
tauri-build = {{ tauri_build_dep }}

crates/tauri-cli/templates/plugin/__example-api/tauri-app/src-tauri/Cargo.crate-manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rust-version = "1.71"
1010

1111
[lib]
1212
name = "tauri_app_lib"
13-
crate-type = ["staticlib", "cdylib", "lib"]
13+
crate-type = ["staticlib", "cdylib", "rlib"]
1414

1515
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1616

crates/tauri-cli/templates/plugin/__example-basic/vanilla/src-tauri/Cargo.crate-manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rust-version = "1.71"
1010

1111
[lib]
1212
name = "tauri_app_lib"
13-
crate-type = ["staticlib", "cdylib", "lib"]
13+
crate-type = ["staticlib", "cdylib", "rlib"]
1414

1515
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1616

examples/api/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "Apache-2.0 OR MIT"
88

99
[lib]
1010
name = "api_lib"
11-
crate-type = ["staticlib", "cdylib", "lib"]
11+
crate-type = ["staticlib", "cdylib", "rlib"]
1212

1313
[build-dependencies]
1414
tauri-build = { path = "../../../crates/tauri-build", features = [

0 commit comments

Comments
 (0)