Skip to content

Commit 9467547

Browse files
fix(cli): Fix crate type (#791)
* Fix crate type Fixes tauri-apps/tauri#9547 * add change file --------- Co-authored-by: Lucas Nogueira <[email protected]>
1 parent 01bde7b commit 9467547

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changes/fix-crate-type.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": patch
3+
"create-tauri-app-js": patch
4+
---
5+
6+
Fix crate type.

templates/_base_/src-tauri/Cargo.toml.lte

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2021"
99

1010
{% if rc %}[lib]
1111
name = "{% lib_name %}"
12-
crate-type = ["lib", "cdylib", "staticlib"]
12+
crate-type = ["staticlib", "cdylib", "rlib"]
1313

1414
{% endif %}{% if stable %}[build-dependencies]
1515
tauri-build = { version = "1", features = [] }

0 commit comments

Comments
 (0)