Skip to content

Add html5ever-0.31.0-new-solver #2129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions collector/compile-benchmarks/REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ path = "html5ever-0.31.0/**"
SPDX-FileCopyrightText = "The html5ever Project Developers"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "html5ever-0.31.0-new-solver/**"
SPDX-FileCopyrightText = "The html5ever Project Developers"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "hyper-1.6.0/**"
SPDX-FileCopyrightText = "hyper contributors"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"git": {
"sha1": "ce481196ff2e60eb536d9c022f4ca00bd5181f15"
},
"path_in_vcs": "html5ever"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/util/str.rs b/src/util/str.rs
index 2c0ec3e2..a78ff669 100644
--- a/src/util/str.rs
+++ b/src/util/str.rs
@@ -10,6 +10,7 @@
use std::fmt;

pub(crate) fn to_escaped_string<T: fmt::Debug>(x: &T) -> String {
+ println!("testing");
// FIXME: don't allocate twice
let string = format!("{x:?}");
string.chars().flat_map(|c| c.escape_default()).collect()
Loading
Loading