Closed
Description
Now that -mexec-model
option is introduced in #9178, I would like to set the option in build.zig but I realized that current std.build does not allow me to pass the flag via build.zig.
So I think we have two options to achieve this:
- add the dedicated method in std.build to set the flag just like -mcode-model flag,
- add more generic method in std.build for passing arbitrary flag to zig_args
before I work on a PR, I would like to hear maintainers' opinion here. Thank you!