diff --git a/tasks/test.py b/tasks/test.py index 51ca59897fad1..74297c819f440 100644 --- a/tasks/test.py +++ b/tasks/test.py @@ -609,7 +609,6 @@ def test( python_home_3=python_home_3, major_version=major_version, python_runtimes=python_runtimes, - race=race, ) # Use stdout if no profile is set diff --git a/tasks/utils.py b/tasks/utils.py index c7080f1af2522..ea3ac695c09f7 100644 --- a/tasks/utils.py +++ b/tasks/utils.py @@ -122,7 +122,6 @@ def get_build_flags( major_version='7', python_runtimes='3', headless_mode=False, - race=False, ): """ Build the common value for both ldflags and gcflags, and return an env accordingly. @@ -217,12 +216,6 @@ def get_build_flags( if extldflags: ldflags += f"'-extldflags={extldflags}' " - # Needed to fix an issue when using -race + gcc 10.x on Windows - # https://github.com/bazelbuild/rules_go/issues/2614 - if race: - if sys.platform == 'win32': - ldflags += " -linkmode=external" - return ldflags, gcflags, env