You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no reason for librustllvm to be built as a dynamic library any more. All of the dependent LLVM libraries are all static libraries, so we should be able to slurp in all these dependencies statically.
The tough part here is that we use llvm-config to figure out the set of LLVM libraries to link to, but I think that this would require hard-coding all of them into #[link(name = "foo", kind = "static")] on the extern block in librustc/lib/llvm.rs file. I don't really see a way around this.
The text was updated successfully, but these errors were encountered:
There's no reason for
librustllvm
to be built as a dynamic library any more. All of the dependent LLVM libraries are all static libraries, so we should be able to slurp in all these dependencies statically.The tough part here is that we use
llvm-config
to figure out the set of LLVM libraries to link to, but I think that this would require hard-coding all of them into#[link(name = "foo", kind = "static")]
on theextern
block inlibrustc/lib/llvm.rs
file. I don't really see a way around this.The text was updated successfully, but these errors were encountered: