We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80deedc + 969eacc commit 5c5ee1dCopy full SHA for 5c5ee1d
src/lib.rs
@@ -771,9 +771,8 @@ impl Build {
771
/// Configures whether the compiler will emit debug information when
772
/// generating object files.
773
///
774
- /// This option is automatically scraped from the `PROFILE` environment
775
- /// variable by build scripts (only enabled when the profile is "debug"), so
776
- /// it's not required to call this function.
+ /// This option is automatically scraped from the `DEBUG` environment
+ /// variable by build scripts, so it's not required to call this function.
777
pub fn debug(&mut self, debug: bool) -> &mut Build {
778
self.debug = Some(debug);
779
self
0 commit comments