Code under the 2-clause-BSD license is not documented as a compatible license for the Rust runtime #62620
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
The 2-clause-BSD license is not documented in the tidy script as being a compatible license for the rust runtime dependencies. We used to ship BSD licensed code as part of libstd until recently: 0b85b64#diff-4131508972c86fdd799a5f7d41fdd323 and we shipped jemalloc for a long time as part of the runtime on many targets.
We still do ship code with the MPL2.0 license in some targets, see: https://github.com/rust-lang/rust/blob/master/src/tools/tidy/src/deps.rs#L51
The deps check of the tidy script should be better documented to explain what's allowed and what isn't.
The text was updated successfully, but these errors were encountered: