Skip to content

Dependency deno_astv0.43.3 is broken so rustyscript cant compile #362

@TimoLehnertz

Description

@TimoLehnertz

Describe the bug
The dependency deno_astv0.43.3 is broken. It has a non-exhaustive patterns match expression. So rustyscript doesnt compile. The latest version of deno_ast works fine. The current cargo.toml of rustyscript also uses the newest version of deno_ast but the distributed version does not.
Please make a new release which bumbs the version of deno_ast.

To Reproduce
Steps to reproduce the behavior:
cargo add rustyscript
cargo run

Workarround
My workarround at the moment is to use the master branch of rustyscript.
So in my cargo.toml i replace
rustyscript = "0.11.0"
By
rustyscript = { git = "https://github.com/rscarson/rustyscript.git", branch = "master" }

Expected behavior
Make a minor release to bump the version of deno_ast to "=v0.46.5"

Additional context
Im new to rust and would like to understand this issue better. How can this even happen in the first place? I assume that at the time of releaseing rustyscript the dependency was fine. How can it break afterwards?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions