Skip to content
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

cargo clippy failed for web-sys feature #247

@jetli

Description

@jetli

Describe the Bug
cargo clippy failed on v0.10.0 when using web-sys feature

To Reproduce
Clone https://github.com/jetli/rust-yew-realworld-example-app and run clippy

cargo clippy -- --deny=warnings
   Compiling yew-router v0.10.0
error: failed to run custom build command for `yew-router v0.10.0`

Caused by:
  process didn't exit successfully: `/Users/jetli/repos/_jetli/rust-yew-realworld-example-app/target/debug/build/yew-router-bc27cefeee4a23ab/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Selected target `x86_64-apple-darwin` is not compatible with web-sys', /Users/jetli/.cargo/registry/src/github.com-1ecc6299db9ec823/yew-router-0.10.0/build.rs:25:9

Related Info

  • yew version: 0.13.0
  • yew-router version: 0.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions