You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error message for platform count check (#135)
Adding the actual number of platforms might make it easier to spot the mistake, i.e. if it is 0 or 2 might be important, both could happen depending on how the builder is invoked.
print(f"{'warning'ifargs.allow_frankensteinelse'error'}: number of platforms != 1", file=sys.stderr)
93
+
print(f"{'warning'ifargs.allow_frankensteinelse'error'}: number of platforms is {len(features_by_type["platform"])}, but should be 1", file=sys.stderr)
94
94
ifnotargs.allow_frankenstein:
95
95
print("hint: use --allow-frankenstein if you truly want to build with an unsupported number of platforms", file=sys.stderr)
0 commit comments