Browse Source

Merge pull request #414 from kryptan/patch-1

Correct documentation for `Build::debug`
wip-new-parallel
Alex Crichton 5 years ago
committed by GitHub
parent
commit
5c5ee1db5b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/lib.rs

5
src/lib.rs

@ -771,9 +771,8 @@ impl Build {
/// Configures whether the compiler will emit debug information when
/// generating object files.
///
/// This option is automatically scraped from the `PROFILE` environment
/// variable by build scripts (only enabled when the profile is "debug"), so
/// 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.
pub fn debug(&mut self, debug: bool) -> &mut Build {
self.debug = Some(debug);
self

Loading…
Cancel
Save