1
0
Fork 0
mirror of synced 2024-05-17 19:03:08 +12:00
This commit is contained in:
Rafał Mikrut 2023-11-22 20:45:24 +01:00
parent eb52abf967
commit 46a5bdd01a
3 changed files with 6 additions and 3 deletions

View file

@ -22,7 +22,7 @@ jobs:
run: sudo apt update || true; sudo apt install -y ffmpeg
- name: Setup rust version
run: rustup default ${{ matrix.toolchain }}
run: rustup default nightly-2023-11-16
- name: Add eyra
run: |

View file

@ -39,7 +39,9 @@ jobs:
if-no-files-found: error
- name: Show console window on windows
run: ./sd.exe -s '#![windows_subsystem = "windows"]' '//#![windows_subsystem = "windows"]' krokiet/src/main.rs
run: |
./sd.exe -s '#![windows_subsystem = "windows"]' '//#![windows_subsystem = "windows"]' krokiet/src/main.rs
cat krokiet/src/main.rs
- name: Compile Krokiet Console
run: cargo build --release --bin krokiet

View file

@ -1,5 +1,6 @@
// Remove console window in Windows OS
#![windows_subsystem = "windows"]
#![allow(unknown_lints)] // May be disabled, but locally I use nightly clippy
#![allow(clippy::comparison_chain)]
#![allow(clippy::collapsible_if)]
#![allow(clippy::should_panic_without_expect)]
@ -79,7 +80,7 @@ pub fn to_remove_debug(app: &MainWindow) {
fn to_remove_create_with_header() -> Rc<VecModel<MainListModel>> {
let header_row_data: Rc<VecModel<MainListModel>> = Rc::new(VecModel::default());
for r in 0..100_000 {
for r in 0..10_000 {
let items = VecModel::default();
for c in 0..3 {