Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
// Regression test for https://github.com/servo/html5ever/issues/393
//
// Create a dynamic atom causing initialization of the global hash map
// in a thread that has a small stack.
//
// This is a separate test program rather than a `#[test] fn` among others
// to make sure that nothing else has already initialized the map in this process.
fn main() {
std::thread::Builder::new()
.stack_size(50_000)
.spawn(|| {
let _atom = string_cache::DefaultAtom::from("12345678");
})
.unwrap()
.join()
.unwrap()
}