Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
naomijub committed Apr 5, 2024
1 parent 9099f9f commit f6b5a83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flamegraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev
- name: Install Flame Dependencies
run: |
sudo apt install linux-perf linux-tools-common linux-tools-generic linux-tools-`uname -r`
sudo apt install linux-tools-common linux-tools-generic linux-tools-`uname -r`
cargo install flamegraph
sudo sysctl -w kernel.perf_event_paranoid=-1
sudo sh -c 'echo "kernel.perf_event_paranoid=-1" >> /etc/sysctl.conf'
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ use space_editor_ui::{game_mode_changed, settings::GameModeSettings, simple_edit

fn main() {
/// Backtrace only supported on unix
#[cfg(all(feature = "backtrace" , not(target_os = "windows")))]
#[cfg(all(feature = "backtrace", not(target_os = "windows")))]
unsafe {
backtrace_on_stack_overflow::enable()
};

Check warning on line 12 in src/main.rs

View check run for this annotation

Codecov / codecov/patch

src/main.rs#L7-L12

Added lines #L7 - L12 were not covered by tests
let mut app = App::new();
app.add_plugins(DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
Expand Down

0 comments on commit f6b5a83

Please sign in to comment.