Use cargo rustc to build Fornjot models

This provides more flexibility and the potential for making it easier
for the user to specify models.
This commit is contained in:
Hanno Braun 2022-10-12 12:16:37 +02:00
parent 05b4ad8584
commit 5a98962c15

View File

@ -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()?;