We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cf101c commit de363d5Copy full SHA for de363d5
compiler/rustc_codegen_llvm/src/back/archive.rs
@@ -108,7 +108,9 @@ pub struct LlvmArchiveBuilderBuilder;
108
109
impl ArchiveBuilderBuilder for LlvmArchiveBuilderBuilder {
110
fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box<dyn ArchiveBuilder<'a> + 'a> {
111
- if sess.target.arch == "wasm32" || sess.target.arch == "wasm64" {
+ // FIXME use ArArchiveBuilder on most targets again once reading thin archives is
112
+ // implemented
113
+ if true || sess.target.arch == "wasm32" || sess.target.arch == "wasm64" {
114
Box::new(LlvmArchiveBuilder { sess, additions: Vec::new() })
115
} else {
116
Box::new(ArArchiveBuilder::new(sess, get_llvm_object_symbols))
0 commit comments