Skip to content

bug: Latest version fails to build with format feature. #437

@Jacob-32587

Description

@Jacob-32587

Describe the bug

The current version 11.0.1 fails to build swc_common due to a module name update. The only reason I encountered this is because I had my projects Cargo.lock file in the .gitignore. I now realize that this is not good practice for code bases that are standalone applications.

To Reproduce
Steps to reproduce the behavior:
Run this command to make a new project with ts-rs: cargo new ts_rs_test && cd ts_rs_test && cargo add ts-rs --features format
Compile: cargo build

Expected behavior
The code should compile however, it fails to compile swc_common.

Screenshots

Image

Version
ts-rs: 11.0.1
rust: 1.90.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