You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a fullstack app, when bundling to desktop, dx build two binary files in parallel:
the server binary (--feature server)
the desktop binary (--feature desktop)
Both of them are output to the same directory with the same file name, and yes, one of them will be overwriten by another. So the finally bundled file maybe is the server binary instead of desktop binary.
Update: I'm using CARGO_TARGET_DIR.
Steps To Reproduce
Steps to reproduce the behavior:
follows the HotDog tutorial, enable fullstack feature and add server functions
run dx bundle --platform desktop (also follows the tutorial)
Expected behavior
the desktop (GUI) binary is always bundled, and the server binary should be bundled too.
Screenshots
n/a
Environment:
Dioxus version: 0.6.1
Rust version: 1.83.0
OS info: Windows 10, 22H2, 19045
App platform: fullstack and desktop
Questionnaire
The text was updated successfully, but these errors were encountered:
Problem
For a fullstack app, when bundling to desktop, dx build two binary files in parallel:
--feature server
)--feature desktop
)Both of them are output to the same directory with the same file name, and yes, one of them will be overwriten by another. So the finally bundled file maybe is the server binary instead of desktop binary.
Update: I'm using
CARGO_TARGET_DIR
.Steps To Reproduce
Steps to reproduce the behavior:
fullstack
feature and add server functionsdx bundle --platform desktop
(also follows the tutorial)Expected behavior
the desktop (GUI) binary is always bundled, and the server binary should be bundled too.
Screenshots
n/a
Environment:
fullstack
anddesktop
Questionnaire
The text was updated successfully, but these errors were encountered: