-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samples build.zig cannot be directly used #597
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Yes the build.zigs for samples were not intended to be run using zig build. Is there any benefit to doing this over just running a particular sample build command from the top level? |
This comment was marked as outdated.
This comment was marked as outdated.
Oh I found another way to break the |
I think we should make this change. Sample apps only consume a self-defined subset of options; and |
I think this is blocked by For example
|
If you try to build a sample directly, it errors:
I think we can refactor to directly pass in
target
andoptimize
but duplicate all other options asb.option
.The text was updated successfully, but these errors were encountered: