🔧 Remove wasm warnings (#12291)

* 🔧 Drop emscripten verbose linker output from debug builds

* 🔧 Fix render-wasm warnings from Rust 1.99
This commit is contained in:
Elena Torró 2026-10-13 16:33:51 +02:00 committed by GitHub
parent 89c6bad8cd
commit a44c8aba88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View File

@ -136,7 +136,7 @@ case "$CARGO_PROFILE_DIR" in
# -gseparate-dwarf
# -gsplit-dwarf
# -gsource-map
export EMCC_CFLAGS="-g -sASSERTIONS=1 -sVERBOSE=1 $EMCC_CFLAGS";
export EMCC_CFLAGS="-g -sASSERTIONS=1 $EMCC_CFLAGS";
;;
esac

View File

@ -314,10 +314,7 @@ fn set_flex_multi_span(
// Distribute the space between flex tracks in proportion to the division
for track in tracks[start..end].iter_mut() {
if track.track_type == GridTrackType::Flex {
let new_size = alloc.clamp(track.size, track.max_size);
let aloc = new_size - track.size;
dist -= aloc;
track.size = new_size;
track.size = alloc.clamp(track.size, track.max_size);
}
}
}

View File

@ -5,7 +5,6 @@ use crate::{
utils::Browser,
};
use core::f32;
use macros::ToJs;
use skia_safe::textlayout::{RectHeightStyle, RectWidthStyle};
use skia_safe::{