We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13b7df7 + 1e23b29 commit befcf26Copy full SHA for befcf26
2 files changed
Cargo.toml
@@ -19,7 +19,6 @@ exclude = [
19
]
20
21
[lib]
22
-crate-type = ["staticlib", "lib"] # "lib" required for integration tests
23
name = "hermit"
24
25
[[test]]
xtask/src/build.rs
@@ -36,7 +36,8 @@ impl Build {
36
let mut cargo = crate::cargo();
37
cargo
38
.args(careful)
39
- .arg("build")
+ .arg("rustc")
40
+ .arg("--crate-type=staticlib")
41
.env("CARGO_ENCODED_RUSTFLAGS", self.cargo_encoded_rustflags()?)
42
.args(self.cargo_build.artifact.arch.cargo_args())
43
.args(self.cargo_build.cargo_build_args());
0 commit comments