@@ -350,7 +350,7 @@ def write_library_config(prefix, name, config, quiet):
350350def make_emscripten_libffi (context , working_dir ):
351351 validate_emsdk_version (context .emsdk_cache )
352352 prefix = context .build_paths ["prefix_dir" ]
353- libffi_config = load_config_toml ()["libffi" ]
353+ libffi_config = load_config_toml ()["dependencies" ][ " libffi" ]
354354 if not should_build_library (
355355 prefix , "libffi" , libffi_config , context .quiet
356356 ):
@@ -378,7 +378,7 @@ def make_emscripten_libffi(context, working_dir):
378378def make_mpdec (context , working_dir ):
379379 validate_emsdk_version (context .emsdk_cache )
380380 prefix = context .build_paths ["prefix_dir" ]
381- mpdec_config = load_config_toml ()["mpdec" ]
381+ mpdec_config = load_config_toml ()["dependencies" ][ " mpdec" ]
382382 if not should_build_library (prefix , "mpdec" , mpdec_config , context .quiet ):
383383 return
384384
@@ -705,15 +705,15 @@ def main():
705705 help = (
706706 "If passed, will add the default test arguments to the beginning of the command. "
707707 "Default arguments loaded from Platforms/emscripten/config.toml"
708- )
708+ ),
709709 )
710710 run .add_argument (
711711 "args" ,
712712 nargs = argparse .REMAINDER ,
713713 help = (
714714 "Arguments to pass to the emscripten Python "
715715 "(use '--' to separate from run options)" ,
716- )
716+ ),
717717 )
718718 add_cross_build_dir_option (run )
719719
0 commit comments