Skip to content

Commit

Permalink
Update console
Browse files Browse the repository at this point in the history
This fixes build errors on wasm targets:

    error[E0659]: `wants_emoji` is ambiguous
      --> /home/flupke/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-0.13.0/src/utils.rs:7:19
        |
    7   | use crate::term::{wants_emoji, Term};
        |                   ^^^^^^^^^^^ ambiguous name
        |
        = note: ambiguous because of multiple glob imports of a name in the same module
    note: `wants_emoji` could refer to the function imported here
      --> /home/flupke/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-0.13.0/src/term.rs:560:9
        |
    560 | pub use crate::unix_term::*;
        |         ^^^^^^^^^^^^^^^^^^^
        = help: consider adding an explicit import of `wants_emoji` to disambiguate
    note: `wants_emoji` could also refer to the function imported here
      --> /home/flupke/.cargo/registry/src/index.crates.io-6f17d22bba15001f/console-0.13.0/src/term.rs:562:9
        |
    562 | pub use crate::wasm_term::*;
        |         ^^^^^^^^^^^^^^^^^^^
        = help: consider adding an explicit import of `wants_emoji` to disambiguate
  • Loading branch information
flupke authored and Luni-4 committed Dec 9, 2024
1 parent 8eeb742 commit f18fc5f
Show file tree
Hide file tree
Showing 2 changed files with 472 additions and 1 deletion.
Loading

0 comments on commit f18fc5f

Please sign in to comment.