Add Cargo Arguments and Cross-Architecture Support (#1777)
* Add passthrough to cargo build * Add platform_triple flag * Add handling to bundle and serve commands * Show full stacked error from Tauri in bundling Previously only the top-level error was shown, giving only vague data for debugging the build process * Adjust bundle platform triple when cross compiling * Rename --platform-triple to --target * restore some deleted docs on CLI commands --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
This commit is contained in:
1 parent
fd7c9e0359
commit
80a8e1f512
6 files changed
+81
-11
No files matched your search
@@ -37,6 +37,12 @@ impl Build {
|
||||
.platform
|
||||
.unwrap_or(crate_config.dioxus_config.application.default_platform);
|
||||
|
||||
if let Some(target) = self.build.target {
|
||||
crate_config.set_target(target);
|
||||
}
|
||||
|
||||
crate_config.set_cargo_args(self.build.cargo_args);
|
||||
|
||||
// #[cfg(feature = "plugin")]
|
||||
// let _ = PluginManager::on_build_start(&crate_config, &platform);
|
||||
|
||||
|
||||
Reference in new issue
Block a user