Remove extra_features from LlvmBitcodeLinker
It wasn't used anywhere.
This commit is contained in:
parent
2783fc43fd
commit
754d46e33a
3 changed files with 2 additions and 6 deletions
|
|
@ -2061,7 +2061,6 @@ impl Step for Assemble {
|
|||
builder.ensure(crate::core::build_steps::tool::LlvmBitcodeLinker {
|
||||
compiler,
|
||||
target: target_compiler.host,
|
||||
extra_features: vec![],
|
||||
});
|
||||
let tool_exe = exe("llvm-bitcode-linker", target_compiler.host);
|
||||
builder.copy_link(
|
||||
|
|
|
|||
|
|
@ -2374,8 +2374,7 @@ impl Step for LlvmBitcodeLinker {
|
|||
|
||||
builder.ensure(compile::Rustc::new(compiler, target));
|
||||
|
||||
let llbc_linker =
|
||||
builder.ensure(tool::LlvmBitcodeLinker { compiler, target, extra_features: vec![] });
|
||||
let llbc_linker = builder.ensure(tool::LlvmBitcodeLinker { compiler, target });
|
||||
|
||||
let self_contained_bin_dir = format!("lib/rustlib/{}/bin/self-contained", target.triple);
|
||||
|
||||
|
|
|
|||
|
|
@ -1016,7 +1016,6 @@ impl Step for RustAnalyzerProcMacroSrv {
|
|||
pub struct LlvmBitcodeLinker {
|
||||
pub compiler: Compiler,
|
||||
pub target: TargetSelection,
|
||||
pub extra_features: Vec<String>,
|
||||
}
|
||||
|
||||
impl Step for LlvmBitcodeLinker {
|
||||
|
|
@ -1033,7 +1032,6 @@ impl Step for LlvmBitcodeLinker {
|
|||
fn make_run(run: RunConfig<'_>) {
|
||||
run.builder.ensure(LlvmBitcodeLinker {
|
||||
compiler: run.builder.compiler(run.builder.top_stage, run.builder.config.host_target),
|
||||
extra_features: Vec::new(),
|
||||
target: run.target,
|
||||
});
|
||||
}
|
||||
|
|
@ -1050,7 +1048,7 @@ impl Step for LlvmBitcodeLinker {
|
|||
mode: Mode::ToolRustc,
|
||||
path: "src/tools/llvm-bitcode-linker",
|
||||
source_type: SourceType::InTree,
|
||||
extra_features: self.extra_features,
|
||||
extra_features: vec![],
|
||||
allow_features: "",
|
||||
cargo_args: Vec::new(),
|
||||
artifact_kind: ToolArtifactKind::Binary,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue