Skip to content

Allow debug information in release mode#307

Open
funnisimo wants to merge 4 commits intoamethyst:masterfrom
funnisimo:dbg
Open

Allow debug information in release mode#307
funnisimo wants to merge 4 commits intoamethyst:masterfrom
funnisimo:dbg

Conversation

@funnisimo
Copy link
Contributor

For performance testing with debug information you will need to add this to your Cargo.toml file:

[profile.release]
debug = true

If you do this, the include for glow::HasContext causes errors. By adding a #[cfg] guard, we remove that error.

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.

1 participant