mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-16 13:16:09 +00:00
Merge pull request #1209 from hannobraun/rustc
Remove need to specify `crate-type` in `Cargo.toml`
This commit is contained in:
commit
986cf86dda
@ -90,8 +90,9 @@ impl Model {
|
||||
let mut command_root = Command::new("cargo");
|
||||
|
||||
let command = command_root
|
||||
.arg("build")
|
||||
.args(["--manifest-path", &manifest_path]);
|
||||
.arg("rustc")
|
||||
.args(["--manifest-path", &manifest_path])
|
||||
.args(["--crate-type", "cdylib"]);
|
||||
|
||||
let cargo_output = command.output()?;
|
||||
let exit_status = cargo_output.status;
|
||||
|
@ -3,8 +3,5 @@ name = "cuboid"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies.fj]
|
||||
path = "../../crates/fj"
|
||||
|
@ -3,8 +3,5 @@ name = "spacer"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies.fj]
|
||||
path = "../../crates/fj"
|
||||
|
@ -3,8 +3,5 @@ name = "star"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies.fj]
|
||||
path = "../../crates/fj"
|
||||
|
@ -7,8 +7,5 @@ homepage = "https://www.fornjot.app/"
|
||||
repository = "https://github.com/hannobraun/fornjot"
|
||||
license = "0BSD"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies.fj]
|
||||
path = "../../crates/fj"
|
||||
|
Loading…
Reference in New Issue
Block a user