Skip to content

:: in package name produces weird error #2388

Closed
@oconnor0

Description

@oconnor0

Including :: in the package name on Windows 10 gives the following error:

The filename, directory name, or volume label syntax is incorrect. (os error 123)

If the first two lines of my Cargo.toml are:

[package]
name = "library::core"

I get the above error. If I replace them with:

[package]
name = "library-core"

The package builds correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Error and warning messages generated by Cargo itself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions