Skip to content

Missing targets when requested from metadata #2424

Closed
@kpreid

Description

@kpreid

In https://docs.rs/wgpu/0.19.1/wgpu/index.html and https://docs.rs/wgpu/0.19.0/wgpu/index.html, the Platform menu lists only x86_64-pc-windows-msvc and x86_64-unknown-linux-gnu, even though the Cargo.toml contains

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "x86_64-pc-windows-msvc",
    "wasm32-unknown-unknown",
]

The prior version https://docs.rs/wgpu/0.18.0/wgpu/ does have wasm32-unknown-unknown, but still not x86_64-apple-darwin. It seems like in both cases certain targets are being silently ignored (even the build log has no info on this) and this has gotten worse between the two versions.

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