Skip to content

How to build this crate? #35

@jeancf

Description

@jeancf

I came here through the rust-fatfs crate. I want to manipulate files on an SD Card in a no-std context (microcontroller). In this case, rust-FatFs relies on the Read, Write and Seek traits from this crate.

Simply put, I can not figure out out to build this crate. When I run cargo build with nightly I get error: failed to run custom build command for core_io v0.1.20210325`. I read the README a couple of time but I do not understand what this patching business is about. What does this sentence mean "First, make sure the commit you want to add is fetch in the git tree at /your/rust/dir/.git. Then, import the right source files"? Why would I need to edit or publish patches?

I also notice that the Travis job fails but with a different error than mine. Is the crate broken?

My question is simple: how can I build and use this crate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions