diff --git a/crates/fj-host/src/lib.rs b/crates/fj-host/src/lib.rs index c0d227fd1..57c133714 100644 --- a/crates/fj-host/src/lib.rs +++ b/crates/fj-host/src/lib.rs @@ -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;