Skip to content
Discussion options

You must be logged in to vote

Nearly all the flags for this are like this:

#[cfg(any(debug_assertions, leptos_debuginfo))]

This means that if you set your Rust cfg flags to include leptos_debuginfo, they should be included. So for example, RUSTFLAGS="--cfg leptos_debuginfo" cargo leptos build --release should include the debug info.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by huuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants