Skip to content

Conversation

@tgross35
Copy link
Contributor

No description provided.

In order to disambiguate things now that libm is part of the
compiler-builtins repository, do the following:

* Mention libm in LICENSE.txt
* Clarify the default license for crates other than libm and
  compiler-builtins
* Add an explicit license field to Cargo.toml for all other crates
Do this in a commit so git tracks the move; a new README will be
introduced in the root, and CONTRIBUTING will be updated to apply to
both crates.
@tgross35 tgross35 force-pushed the readme-updates branch 2 times, most recently from 07cfbbb to ebd1ec3 Compare April 21, 2025 09:01
@tgross35 tgross35 enabled auto-merge (rebase) April 21, 2025 09:02
compiler-builtins currently wouldn't publish correctly because of a
relative path to `libm` that doesn't get included in the package. Fix
this by simlinking `libm` to within the `compiler-builtins` directory.

Also symlink LICENSE.txt which lets us drop the `include` array in
Cargo.toml. LICENSE.txt and compiler-rt were not being included anyway,
since Cargo silently drops items that are not within the crate
directory.
@tgross35 tgross35 merged commit b5f8003 into rust-lang:master Apr 21, 2025
35 checks passed
@tgross35 tgross35 deleted the readme-updates branch April 21, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant