-
Notifications
You must be signed in to change notification settings - Fork 895
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
compileopts: better error reporting of unsupported flags #1062
Labels
good first issue
Good for newcomers
Comments
I can take this issue. I'll post a PR tomorrow. |
@trevor403 I just saw your comment here, I was "assigned" this issue on slack 19th of April.. |
niaow
changed the title
Better error reporting of unsupported flags
compileopts: better error reporting of unsupported flags
Apr 26, 2020
That is totally okay! 😄 |
Has this issue been sufficiently resolved? |
Yes, it will be included in the next release (see the label). |
This was released with v0.14.0 so now closing. Please reopen if needed. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a few flags that currently don't have proper error checking. The ones I found are
-gc
,-scheduler
and-size
. Using the wrong value will lead to no or unexpected errors.I think the best way to handle it is to add a new method to
compileopts.Config
that checks whether there are any faulty flags, which is then called from the main function.The text was updated successfully, but these errors were encountered: