Skip to content

Commit

Permalink
make func_frameattrs atribute contidional
Browse files Browse the repository at this point in the history
  • Loading branch information
AnderEnder committed Jun 20, 2020
1 parent d74b74b commit eb5c616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/flamegraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ mod tests {
bgcolors: Some(color::BackgroundColor::Blue),
hash: true,
palette_map: Default::default(),
#[cfg(feature = "nameattr")]
func_frameattrs: Default::default(),
direction: Direction::Inverted,
negate_differentials: true,
Expand Down

0 comments on commit eb5c616

Please sign in to comment.