Skip to content

Commit a421e79

Browse files
committed
Specify static linking
1 parent ec3933b commit a421e79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/library.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ impl Linkage {
100100
}
101101

102102
pub fn as_cargo_rustc_link_spec_no_static(self) -> &'static str {
103-
// fixme: specifying static linkage breaks things in CI
104103
match self {
105-
Self::Default | Self::Dynamic | Self::Static => "",
104+
Self::Default | Self::Dynamic => "",
105+
Self::Static => "static=",
106106
Self::Framework => "framework=",
107107
}
108108
}

0 commit comments

Comments
 (0)