File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 4848 with :
4949 use-cross : true
5050 command : build
51- args : --verbose --release --target ${{ matrix.target }}
51+ args : --verbose --release --target ${{ matrix.target }} --features dist
5252
5353 - name : Build archive
5454 shell : bash
Original file line number Diff line number Diff line change @@ -39,4 +39,7 @@ wasm-bindgen-futures = "0.4"
3939web-sys = { version = " 0.3.70" , features = [" console" ], default-features = false }
4040
4141[profile .release ]
42- opt-level = 2
42+ opt-level = 2
43+
44+ [features ]
45+ dist = []
Original file line number Diff line number Diff line change 1+ #![ cfg_attr( all( target_os = "windows" , feature = "dist" ) , windows_subsystem = "windows" ) ]
2+
13extern crate core;
24
35mod array_table;
@@ -483,6 +485,7 @@ impl<'array> eframe::App for MyApp<'array> {
483485 if self . unsaved_changes { " *" } else { "" }
484486 ) ;
485487
488+ #[ cfg( not( feature = "dist" ) ) ]
486489 if self . show_fps {
487490 self . frame_history
488491 . on_new_frame ( ctx. input ( |i| i. time ) , frame. info ( ) . cpu_usage ) ;
You can’t perform that action at this time.
0 commit comments