Skip to content

Commit 5a55fee

Browse files
committed
Rename for_compiler to for_use_by_compiler
1 parent 5933053 commit 5a55fee

File tree

1 file changed

+3
-3
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-3
lines changed

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ pub struct LldWrapper {
897897

898898
impl LldWrapper {
899899
/// Returns `LldWrapper` that should be **used** by the passed compiler.
900-
pub fn for_compiler(builder: &Builder<'_>, target_compiler: Compiler) -> Self {
900+
pub fn for_use_by_compiler(builder: &Builder<'_>, target_compiler: Compiler) -> Self {
901901
Self {
902902
build_compiler: get_tool_target_compiler(
903903
builder,
@@ -998,7 +998,7 @@ pub struct WasmComponentLd {
998998

999999
impl WasmComponentLd {
10001000
/// Returns `WasmComponentLd` that should be **used** by the passed compiler.
1001-
pub fn for_compiler(builder: &Builder<'_>, target_compiler: Compiler) -> Self {
1001+
pub fn for_use_by_compiler(builder: &Builder<'_>, target_compiler: Compiler) -> Self {
10021002
Self {
10031003
build_compiler: get_tool_target_compiler(
10041004
builder,
@@ -1165,7 +1165,7 @@ pub struct LlvmBitcodeLinker {
11651165

11661166
impl LlvmBitcodeLinker {
11671167
/// Returns `LlvmBitcodeLinker` that should be **used** by the passed compiler.
1168-
pub fn for_compiler(builder: &Builder<'_>, target_compiler: Compiler) -> Self {
1168+
pub fn for_use_by_compiler(builder: &Builder<'_>, target_compiler: Compiler) -> Self {
11691169
Self {
11701170
build_compiler: get_tool_target_compiler(
11711171
builder,

0 commit comments

Comments
 (0)