Skip to content

Commit fe6d474

Browse files
gregestrencopybara-github
authored andcommitted
Remove ctx.fragments.py.use_toolchains.
This was removed from `rules_python` in bazel-contrib/rules_python#3280. PiperOrigin-RevId: 840486756 Change-Id: Id68530d898a44b7632d8780119c2fe8b86f46cc9
1 parent 51161db commit fe6d474

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/java/com/google/devtools/build/lib/rules/python/PythonConfiguration.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,6 @@ public boolean buildPythonZip() {
108108
};
109109
}
110110

111-
/**
112-
* Returns true if executable Python rules should obtain their runtime from the Python toolchain
113-
* rather than legacy flags.
114-
*/
115-
@StarlarkMethod(
116-
name = "use_toolchains",
117-
structField = true,
118-
doc = "No-op: Python toolchains are always used.")
119-
public boolean useToolchains() {
120-
return true;
121-
}
122-
123111
@StarlarkMethod(
124112
name = "default_to_explicit_init_py",
125113
structField = true,

0 commit comments

Comments
 (0)