Skip to content

CI: better mimic docs.rs #93

@RickyDaMa

Description

@RickyDaMa

See:

# Make sure CI fails on all warnings, and pretend we're docs.rs
env:
RUSTFLAGS: "-Dwarnings -Adead-code -Aunused-imports -Aunused-macros"
# FIXME: in future, use the below to better match docs.rs. At the time of
# writing (2025/10/30), a very common documentation-related nightly
# feature attribute (doc_auto_cfg) has been renamed (to doc_cfg) which
# is resulting in the pipeline failing due to transient dependencies
# using the removed feature (even though I specify --no-deps). Not
# fully matching docs.rs also causes some warnings to get emitted
# while building SLWL, so allow those for now.
# RUSTFLAGS: "-Dwarnings --cfg docsrs"

A third party issue instead of us currently basically

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions