Skip to content

rustdoc --test does not work on windows #16275

Closed
@alexcrichton

Description

@alexcrichton
$ echo 'pub fn foo() {}' > foo.rs
$ rustdoc --test foo.rs
foo.rs:1:1 1:1 error can't find crate for `std`
foo.rs:1 pub fn foo() {}
         ^
error: aborting due to previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions