Skip to content

Commit 9ad3bb1

Browse files
committed
Address review
1 parent 086c26d commit 9ad3bb1

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

Cargo.lock

-1
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,6 @@ dependencies = [
34273427
name = "rustc_codegen_llvm"
34283428
version = "0.0.0"
34293429
dependencies = [
3430-
"ar_archive_writer",
34313430
"bitflags 2.5.0",
34323431
"itertools",
34333432
"libc",

compiler/rustc_codegen_cranelift/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#![warn(unused_lifetimes)]
1313
// tidy-alphabetical-end
1414

15-
extern crate ar_archive_writer;
1615
extern crate jobserver;
1716
#[macro_use]
1817
extern crate rustc_middle;

compiler/rustc_codegen_llvm/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ test = false
88

99
[dependencies]
1010
# tidy-alphabetical-start
11-
ar_archive_writer = "0.4.0"
1211
bitflags = "2.4.1"
1312
itertools = "0.12"
1413
libc = "0.2"

compiler/rustc_codegen_ssa/src/back/archive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub trait ArchiveBuilderBuilder {
108108
&exports,
109109
machine,
110110
!sess.target.is_like_msvc,
111-
true,
111+
/*comdat=*/ true,
112112
) {
113113
sess.dcx()
114114
.emit_fatal(ErrorCreatingImportLibrary { lib_name, error: error.to_string() });

0 commit comments

Comments
 (0)