-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustflags
in ./cargo/config.toml
being ignored
#2366
Comments
@ealmloff pointed me to the following locations of interest where dioxus sets the dioxus/packages/cli/src/builder.rs Line 116 in 1ec6819
dioxus/packages/cli/src/server/fullstack/mod.rs Lines 10 to 34 in 1ec6819
The Cargo Book states on
So this behavior is not entirely unsurprising. I don't know of any obvious solution, but one (rather elaborate) approach would be to search the hierarchy for |
#2259 seems to be somewhat related. |
Problem
When having a
./cargo/config.toml
file that contains e.g. (commonly used in combination withweb-sys
)and running
dx serve
, the build fails since it does not consider the specifiedrustflags
. Runningcargo build
succeeds.Steps To Reproduce
Steps to reproduce the behavior:
default_platform = "fullstack"
.rustflags
inconfig.toml
.dx serve
on a build that depends on specificrustflags
being set.Expected behavior
dx serve
should succeed whencargo build
does.Environment:
0.5.4
,latest
1.76.0
,stable
fullstack
Questionnaire
The text was updated successfully, but these errors were encountered: