Skip to content

docs.rs should ignore .cargo/config #647

Closed
@jamwaffles

Description

@jamwaffles

Crate name: sh1106
Build failure link: https://docs.rs/crate/sh1106/0.3.0/builds/231814

Additional details:

I'm building a no_std crate targeting thumbv7m-none-eabi, etc. To get docs.rs builds working again, I added the following to my Cargo.toml:

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"

Which doesn't seem to have an effect, but only on docs.rs. If I build it locally using the docs.rs repo and the following command, it builds fine.

docker-compose run -v "$(realpath ~/Repositories/sh1106)":/build web build crate --local /build

I do have a .cargo/config with the following at the end which may be causing issues?

[build]
target = "thumbv7m-none-eabi"

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-build-failureCategory: This is a crate that failed to build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions