Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1187,14 +1187,14 @@ impl Build {
/// Configures whether the compiler will emit debug information when
/// generating object files.
///
/// This should be one of the values accepted by Cargo's [`debug`][]
/// This should be one of the values accepted by Cargo's [`debug`][1]
/// profile setting, which cc-rs will try to map to the appropriate C
/// compiler flag.
///
/// This option is automatically scraped from the `DEBUG` environment
/// variable by build scripts, so it's not required to call this function.
///
/// [debuginfo]: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
/// [1]: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
pub fn debug_str(&mut self, debug: &str) -> &mut Build {
self.debug = Some(debug.into());
self
Expand Down