Skip to content

Commit 0489497

Browse files
authored
Rollup merge of rust-lang#45090 - rust-lang:petrochenkov-patch-1, r=alexcrichton
Document that `-C ar=PATH` doesn't do anything Are there any plans to use an external archiver in the future? IIRC, it was used before, but its use was replaced with LLVM's built-in archive management machinery. I can't found a relevant PR though. EDIT: Found it - rust-lang#26926! The `-C` option is stable so it still can't be removed right away even if there are no plans to use it (but maybe it can be deprecated?). Target specifications have a field for archiver as well, which is unused too (these ones are unstable, so I guess it can be removed). r? @alexcrichton
2 parents 262612c + 691ab6c commit 0489497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/session/config.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,8 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
864864
build_codegen_options, "C", "codegen",
865865
CG_OPTIONS, cg_type_desc, cgsetters,
866866
ar: Option<String> = (None, parse_opt_string, [UNTRACKED],
867-
"tool to assemble archives with"),
867+
"tool to assemble archives with (has no effect currently, \
868+
rustc doesn't use an external archiver)"),
868869
linker: Option<String> = (None, parse_opt_string, [UNTRACKED],
869870
"system linker to link outputs with"),
870871
link_arg: Vec<String> = (vec![], parse_string_push, [UNTRACKED],

0 commit comments

Comments
 (0)