-
Notifications
You must be signed in to change notification settings - Fork 6
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
Debug vs release #24
Comments
Cargo will pass
That is the |
This ties a bit into #20 I think it's important that we handle stuff such as However, we should also handle some specific |
Makes sense. It could also be using |
From reading through the code so far I am unsure if there is a way to turn on debug on which requires the -g option for gccrs. Also not sure how to turn on optimizations -O0, -O1, -O2, -O3 etc.
If there is a debug / release thing I would suggest debug should be -g -O0 and for release -g -O2 for now if you need default options.
A question, is there options in cargo to pass extra flags to rustc outside of cargo using an environment variable? Just wondering if we need a mechanism to be able to override these defaults with an environment variable.
The text was updated successfully, but these errors were encountered: