From 6862985b0854dfe520df2eb4c39f51291d9a09bc Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 21 May 2025 17:22:44 -0400 Subject: [PATCH] Meta: Do not conflate `build` and `run` arguments The previous commit preserved existing behavior from `master`, but made it clear that the script was trying to use the `run` arguments in the build step. We currently cannot specify both build-time and run-time arguments, so only pass the positional arguments to the run step. --- Meta/ladybird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/ladybird.py b/Meta/ladybird.py index b2a5253bbf3..51e1a8ed308 100755 --- a/Meta/ladybird.py +++ b/Meta/ladybird.py @@ -186,7 +186,7 @@ def main(platform): "UBSAN_OPTIONS", "print_stacktrace=1:print_summary=1:halt_on_error=1" ) build_dir = configure_main(platform, args.preset, args.cc, args.cxx) - build_main(build_dir, args.target, args.args) + build_main(build_dir, args.target) run_main(platform.host_system, build_dir, args.target, args.args) elif args.command == "debug": build_dir = configure_main(platform, args.preset, args.cc, args.cxx)