From 5a98962c15057442d19ccc727b87c3de41183d97 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 12 Oct 2022 12:16:37 +0200 Subject: [PATCH] Use `cargo rustc` to build Fornjot models This provides more flexibility and the potential for making it easier for the user to specify models. --- crates/fj-host/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-host/src/lib.rs b/crates/fj-host/src/lib.rs index f3d3847bf..c0d227fd1 100644 --- a/crates/fj-host/src/lib.rs +++ b/crates/fj-host/src/lib.rs @@ -90,7 +90,7 @@ impl Model { let mut command_root = Command::new("cargo"); let command = command_root - .arg("build") + .arg("rustc") .args(["--manifest-path", &manifest_path]); let cargo_output = command.output()?;