mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-29 03:19:22 +00:00
Explicitly specify crate type when compiling model
This removes the need for specifying the crate type in the model's `Cargo.toml`.
This commit is contained in:
parent
5a98962c15
commit
ccdc4bdeeb
@ -91,7 +91,8 @@ impl Model {
|
||||
|
||||
let command = command_root
|
||||
.arg("rustc")
|
||||
.args(["--manifest-path", &manifest_path]);
|
||||
.args(["--manifest-path", &manifest_path])
|
||||
.args(["--crate-type", "cdylib"]);
|
||||
|
||||
let cargo_output = command.output()?;
|
||||
let exit_status = cargo_output.status;
|
||||
|
Loading…
Reference in New Issue
Block a user