Skip to content

Cargo install bootimage fails #12

Closed
@therishidesai

Description

@therishidesai

When I try to cargo install bootimage, I get the following error.

error[E0425]: cannot find function `read_to_string` in module `fs`
  --> src/test.rs:66:34
   |
66 |                 let output = fs::read_to_string(&output_file)
   |                                  ^^^^^^^^^^^^^^ did you mean `read_string`?

error: aborting due to previous error

error: failed to compile `bootimage v0.4.3`, intermediate artifacts can be found at `/tmp/cargo-install.bb6pN4pqkVxR`

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