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.
This commit is contained in:
Timothy Flynn 2025-05-21 17:22:44 -04:00 committed by Andrew Kaster
commit 6862985b08
Notes: github-actions[bot] 2025-05-21 22:57:14 +00:00

View file

@ -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)