Skip to content

: is not a valid syntax for windows, wit deps cannot have name which contain : , example wasi:io #285

@Nanashi-lab

Description

@Nanashi-lab

: is not a valid syntax for windows file/folder, projects which depend on example wasi:io fail on Windows

Results of cargo wit-deps update from Windows

[cargo-make] INFO - cargo make 0.37.24
[cargo-make] INFO -
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: wit
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Execute Command: "wit-deps" "update"
 INFO fetch `https://github.com/WebAssembly/wasi-io/archive/v0.2.0.tar.gz` into `wit/deps\wasi:io`
Error: failed to lock dependencies

Caused by:
    0: failed to lock deps to `wit/deps`
    1: failed to lock `wasi:io`
    2: failed to unpack contents of `https://github.com/WebAssembly/wasi-io/archive/v0.2.0.tar.gz`
    3: failed to create `wit/deps\wasi:io`: The directory name is invalid. (os error 267)
Error while executing command, exit code: 1

cargo wit-deps update from within wsl but file in windows filesystem succeeds but it creates weird symbols

example - wasiio

cargo wit-deps update from within wsl, file in wsl filesystem works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions