-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Milestone
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!
Metadata
Metadata
Assignees
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management