File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,9 @@ def _guarantee_api_coverage(
172172 """Guarantee ≥1 import_std and ≥1 no_crtp configuration per supporting toolchain."""
173173 no_crtp_extra = {} if contracts is None else {"contracts" : contracts }
174174 for tc in toolchains_iter :
175- if tc .feature_support .import_std :
175+ # import_std is incompatible with freestanding: the pre-built std.pcm
176+ # is compiled without -ffreestanding and cannot be reused.
177+ if tc .feature_support .import_std and not freestanding :
176178 collector .sample_combinations (
177179 rgen = rgen ,
178180 min_samples = 1 ,
@@ -319,6 +321,7 @@ def main():
319321 toolchain = freestanding_toolchains ,
320322 contracts = "none" ,
321323 freestanding = True ,
324+ import_std = False ,
322325 std = 23 ,
323326 )
324327 # Guarantee import_std and no_crtp API coverage per supporting toolchain.
You can’t perform that action at this time.
0 commit comments