Skip to content

Compile html5ever error due to duplicate dylib dependency match_token found #587

Open
@Wyvern

Description

@Wyvern

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions