mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 20:23:09 +00:00
pass features thru to cargo on dx bundle (#2271)
This commit is contained in:
parent
e03593cff7
commit
c799168666
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ impl Bundle {
|
|||
crate_config.extend_with_platform(platform);
|
||||
}
|
||||
|
||||
if let Some(features) = self.build.features {
|
||||
crate_config.set_features(features);
|
||||
}
|
||||
|
||||
// build the desktop app
|
||||
// Since the `bundle()` function is only run for the desktop platform,
|
||||
// the `rust_flags` argument is set to `None`.
|
||||
|
|
Loading…
Reference in a new issue