Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support including licenses for the standard libraries #63

Open
joshtriplett opened this issue Nov 26, 2019 · 2 comments
Open

Please support including licenses for the standard libraries #63

joshtriplett opened this issue Nov 26, 2019 · 2 comments

Comments

@joshtriplett
Copy link

@joshtriplett joshtriplett commented Nov 26, 2019

In addition to the licenses of dependencies, please consider also including the licenses that apply to std, core, libc/libm, compiler_builtins, and similar. This would help people trying to provide documentation of the software they bundle, for license compliance.

@Nemo157

This comment has been minimized.

Copy link
Owner

@Nemo157 Nemo157 commented Nov 26, 2019

Makes a lot of sense. It looks like the text at least is available under share/doc/rust in the toolchain. Although, that doesn’t appear to have any mention of hashbrown and other third-party crates?

Working out the relevant crates will also be interesting, determining if std is linked is complex, and I have very little idea if it is even possible to tell whether other crates from the sysroot are relevant.

If sysroot-aware/custom-std Cargo was anywhere near ready then that could hopefully avoid a lot of this by treating them as normal crates. Although that does give me one idea, the rust-src component could be required and the Cargo.toml from there read somehow to get the information.

@joshtriplett

This comment has been minimized.

Copy link
Author

@joshtriplett joshtriplett commented Nov 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.