We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1997b commit 8e9134cCopy full SHA for 8e9134c
.changes/fix-cli-bins.md
@@ -0,0 +1,6 @@
1
+---
2
+tauri-cli: "patch:bug"
3
+"@tauri-apps/cli": "patch:bug"
4
5
+
6
+Fixed an issue that caused `tauri dev` to fail because of an incorrect `--bins` flag.
crates/tauri-cli/src/interface/rust.rs
@@ -382,8 +382,6 @@ fn dev_options(
382
383
if mobile {
384
args.push("--lib".into());
385
- } else {
386
- args.push("--bins".into());
387
}
388
389
if !args.contains(&"--no-default-features".into()) {
@@ -466,6 +464,8 @@ impl Rust {
466
464
.push("tauri/custom-protocol".into());
467
465
468
+ } else {
+ args.push("--bins".into());
469
470
471
0 commit comments