Skip to content

More clear message on "no space left on device" error #4128

@hcpl

Description

@hcpl

Currently, cargo build outputs:

    Finished dev [unoptimized + debuginfo] target(s) in 0.2 secs
error: An unknown error occurred

To learn more, run the command again with --verbose.

and cargo build --verbose:

       Fresh rustc-serialize v0.3.24
       ...
    Finished dev [unoptimized + debuginfo] target(s) in 0.3 secs
error: No space left on device (os error 28)

Seems like the (os error 28) message could've been printed in non-verbose mode too.

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