Skip to content

Commit 954d700

Browse files
committed
refactor(xtask): only build staticlib
1 parent 41b12e1 commit 954d700

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xtask/src/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl Build {
3737
cargo
3838
.args(careful)
3939
.arg("rustc")
40+
.arg("--crate-type=staticlib")
4041
.env("CARGO_ENCODED_RUSTFLAGS", self.cargo_encoded_rustflags()?)
4142
.args(self.cargo_build.artifact.arch.cargo_args())
4243
.args(self.cargo_build.cargo_build_args());

0 commit comments

Comments
 (0)