Replies: 1 comment 4 replies
-
Managed to get rid of this error by using |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My project has multiple bins. One of them is the Tauri client. But how do I tell Tauri which bin to worry about?
Here's what I have so far. This is how I do it on all the other Rust projects.
Directory structure:
Cargo.toml:
package.json:
This works fine when using
npm run tauri-dev
butnpm run tauri-build
fails with the following error.Error failed to bundle project: Failed to get main binary
How do I make Tauri treat the
Client
bin as its main binary?Beta Was this translation helpful? Give feedback.
All reactions