Skip to content

Use debug_assertions instead of bundled feature#56

Open
tymmesyde wants to merge 1 commit into
masterfrom
refactor/replace-bundled-feature
Open

Use debug_assertions instead of bundled feature#56
tymmesyde wants to merge 1 commit into
masterfrom
refactor/replace-bundled-feature

Conversation

@tymmesyde

Copy link
Copy Markdown
Member

No description provided.

@elpiel elpiel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely convinced we should use debug_assertions since it's only enabled if you run the compiler without optimizations.
Often time you would want to test the application in --release mode which includes optimizations then it will try to run the app in "installed" mode.

debug_assertions

Enabled by default when compiling without optimizations. This can be used to enable extra debugging code in development but not in production. For example, it controls the behavior of the standard library's debug_assert! macro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants