Function tidy::deps::check_runtime_license_exceptions

source ·
fn check_runtime_license_exceptions(
    metadata: &Metadata,
    runtime_ids: HashSet<&PackageId>,
    bad: &mut bool
)
Expand description

Check that all licenses of runtime dependencies are in the valid list in LICENSES.

Unlike for tools we don’t allow exceptions to the LICENSES list for the runtime with the sole exception of fortanix-sgx-abi which is only used on x86_64-fortanix-unknown-sgx.