Skip to content

Dependency check of the tidy tool should verify libstd dependencies #62619

Closed
@gnzlbg

Description

@gnzlbg

There is a documentation comment explicitly saying that it is crucial for libcore,liballoc,libstd not to depend on any crate with incompatible licenses, yet a couple of lines after there is an exemption that does precisely this: https://github.com/rust-lang/rust/blob/master/src/tools/tidy/src/deps.rs#L25

AFAICT, this property of the runtime is not verified by the tidy script, but should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions