pass features thru to cargo on dx bundle (#2271)

This commit is contained in:
Aron Puddy 2024-04-08 23:22:04 +09:30 committed by GitHub
parent e03593cff7
commit c799168666
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`.