html5ever icon indicating copy to clipboard operation
html5ever copied to clipboard

Compile html5ever error due to duplicate `dylib` dependency `match_token` found

Open Wyvern opened this issue 8 months ago • 0 comments

Compiling this package got error like below:

error[E0464]: multiple candidates for `dylib` dependency `match_token` found
  --> index.crates.io-1949cf8c6b5b557f/html5ever-0.30.0/src/tree_builder/rules.rs:26:5
   |
26 | use match_token::match_token;
   |     ^^^^^^^^^^^
   |
   = note: candidate #1: /opt/Rust/build-dir/debug/deps/libmatch_token-5d0c89fad2624480.dylib
   = note: candidate #2: /opt/Rust/build-dir/debug/deps/libmatch_token-e28b43c968873f22.dylib

Tried clean && rebuild, it doesn't work. How to fix ?

Wyvern avatar Mar 26 '25 04:03 Wyvern