Skip to content

Commit b8c2f7b

Browse files
committed
Shared libLLVM linking is officially supported with MinGW and Clang
1 parent 8ae5ca9 commit b8c2f7b

File tree

1 file changed

+2
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-1
lines changed

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ impl Step for Llvm {
285285
LlvmBuildStatus::ShouldBuild(m) => m,
286286
};
287287

288-
if builder.llvm_link_shared() && target.is_windows() {
288+
if builder.llvm_link_shared() && target.is_windows() && !target.ends_with("windows-gnullvm")
289+
{
289290
panic!("shared linking to LLVM is not currently supported on {}", target.triple);
290291
}
291292

0 commit comments

Comments
 (0)