fix(platforms): include flag_values in config_settings (#2236)
This function that allows us to generate config settings for
supported platforms did not get the flag_values addition.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1d8632f..88a8378 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -60,6 +60,8 @@
in extra_requires in py_wheel rule.
* (rules) Prevent pytest from trying run the generated stage2
bootstrap .py file when using {obj}`--bootstrap_impl=script`
+* (toolchain) The {bzl:obj}`gen_python_config_settings` has been fixed to include
+ the flag_values from the platform definitions.
### Added
diff --git a/python/versions.bzl b/python/versions.bzl
index 79e388d..c97c1cc 100644
--- a/python/versions.bzl
+++ b/python/versions.bzl
@@ -722,5 +722,6 @@
for platform in PLATFORMS.keys():
native.config_setting(
name = "{name}{platform}".format(name = name, platform = platform),
+ flag_values = PLATFORMS[platform].flag_values,
constraint_values = PLATFORMS[platform].compatible_with,
)