-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Serialization of compile definitions #1529
Conversation
@lhstrh @petervdonovan @arengarajan99 This PR is a proposal for how to make a generated C-target project "self contained". The compile definitions are dumped to a file called
|
Path.of(fileConfig.getSrcGenPath() + File.separator + "CompileDefinitions.txt") | ||
); | ||
} catch (IOException e) { | ||
Exceptions.sneakyThrow(e); |
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.
What is this sneakyThrow
for? I've seen these starting to appear since the port from Xtend to Java, which makes me believe this was used in the Xtend-generated Java code.
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.
I dont know. I copied that pattern from a few lines above.
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.
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!
@erlingrj could you add a description for the release notes? |
No description provided.