Compare commits

...

1 Commits

Author SHA1 Message Date
Jagoda Estera Ślązak
e602369afe wip: attempt to fix constraint solving infinite loop 2025-07-23 00:25:00 +02:00
3 changed files with 8 additions and 3 deletions

3
Cargo.lock generated
View File

@@ -1582,8 +1582,7 @@ dependencies = [
[[package]]
name = "kasuari"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96d9e0d6a8bf886abccc1cbcac7d74f9000ae5882aedc4a9042188bbc9cd4487"
source = "git+https://github.com/j-g00da/kasuari.git?branch=js%2Fcycle-prevention#dd15b398666924a192ca05d5a6d207df9c84afe3"
dependencies = [
"hashbrown",
"thiserror 2.0.12",

View File

@@ -41,7 +41,7 @@ hashbrown = "0.15"
indoc = "2"
instability = "0.3"
itertools = { version = "0.14", default-features = false, features = ["use_alloc"] }
kasuari = { version = "0.4", default-features = false }
kasuari = { git = "https://github.com/j-g00da/kasuari.git", branch = "js/cycle-prevention", default-features = false }
line-clipping = "0.3"
lru = "0.14"
palette = "0.7"

View File

@@ -2834,5 +2834,11 @@ mod tests {
.collect::<Vec<(u16, u16)>>();
assert_eq!(result, expected);
}
#[rstest]
#[timeout(core::time::Duration::from_secs(10))]
fn regression_1855() {
Layout::horizontal(vec![Min(0); 40]).split(Rect::new(0, 0, 40, 1));
}
}
}