Skip to content

Commit

Permalink
Remove cpu-arch logic from Java code.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 443325184
  • Loading branch information
c-mita authored and copybara-github committed Apr 21, 2022
1 parent ca40a51 commit 97cd295
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 82 deletions.
67 changes: 0 additions & 67 deletions src/main/java/com/google/devtools/build/lib/rules/cpp/FakeCPU.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,6 @@ public RunfilesApi starlarkGetGoRunfiles(
return null;
}

@Override
public int getArchIntSize(GoConfigurationApi goConfig) {
return 0;
}

@Override
public GoContextInfoApi starlarkCollectTransitiveGoContextGopkg(
StarlarkRuleContextApi<ConstraintValueInfoApi> starlarkRuleContext,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@ public interface GoWrapCcHelperApi<
public RunfilesApi starlarkGetGoRunfiles(StarlarkRuleContextT starlarkRuleContext)
throws EvalException, InterruptedException;

@StarlarkMethod(
name = "get_arch_int_size",
doc = "",
documented = false,
parameters = {
@Param(name = "go", positional = false, named = true),
})
// TODO(b/113797843): Not written in Starlark because of GoCompilationHelper.
public int getArchIntSize(GoConfigurationT goConfig);

@StarlarkMethod(
name = "collect_transitive_go_context_gopkg",
doc = "",
Expand Down

0 comments on commit 97cd295

Please sign in to comment.