-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add the options data class to program #237
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some drive-by observations. Feel free to ignore!
Thanks, Berry 🙏 We welcome feedbacks and won't ignore anyone! |
Another TODO: Let's also update the code samples and show the best practice! |
Is there a way to add these as doctests so that the code samples must always be kept in working order? |
@warsawnv Totally. I'm actively working on getting github actions working, and the examples are invoked as part of the testsuite. |
/ok to test |
Very good point |
03128c8
to
6d789cb
Compare
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
This comment has been minimized.
This comment has been minimized.
pre-commit.ci autofix |
0d52c25
to
9ef4821
Compare
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Very thorough changes, thanks Keenan!
|
close #221
Add the options class to Program.
This comes with a few side effects, namely: There are some modifications to the tests, and the LinkerOptions class now accepts None for arch (using the current device as a default), for consistency between the program options and linker options