Disable source code paths in Odin builds - #90
Merged
Conversation
Member
|
I'm a bit confused how the new builds will behave.
|
Contributor
Author
I was inspecting the WAT and it sure seems that way. It had multiple absolute paths in a There's other settings than edit: also this does not affect debug info at all. The debug symbols for function names are still kept
Yeah on second thought, let's not change the assert behavior. It's a weird default. |
Member
|
thank you :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Odin includes by default the file names in the final build,
as well as a lot of other error text that won't be used as asserts have no way of printing their messages.However: this means that if the developer uses asserts themselves, then those won't be included in the build. So I'm only adding-disable-assertiff not--no-stripis setThis reduced a very simple hello world app (basically the odin triangle example) where I saved 403 Bytes thanks to
-source-code-locations:none