Skip to content

Commit c7630d8

Browse files
wesleywisereddyb
authored andcommitted
Review feedback
1 parent 00cc6b7 commit c7630d8

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ members = ["fuzz"]
44
[workspace.package]
55
version = "0.0.0"
66
edition = "2021"
7+
license = "Apache-2.0 WITH LLVM-exception"
78

89
[package]
910
name = "rustc_apfloat"
10-
license = "Apache-2.0 WITH LLVM-exception"
1111
version.workspace = true
1212
edition.workspace = true
13+
license.workspace = true
1314

1415
[dependencies]
1516
bitflags = "1.3.2"

LICENSE-DETAILS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ As the total diff is only 6 lines of code (excluding changes to APInt unit tests
7070

7171
The original LLVM code appears to be available as Apache 2 with LLVM Exception and so our port of this code is licensed as such.
7272

73-
A few additional patches (code cleanups and backports of upstream LLVM changes) have been made on top of the initial port.
74-
The authors of these patches have also agreed to allow their code to be used under the Apache 2 with LLVM Exception license (backports from LLVM only include changes made after LLVM's licensing switch on 2019-01-19).
73+
A few additional patches (code cleanups and performance improvements) have been made on top of the initial port.
74+
The authors of these patches have also agreed to allow their code to be used under the Apache 2 with LLVM Exception license.
7575

7676
Subsequent work on this crate has advanced the state of the port from the original commit.
7777
Reviewing the set of upstream LLVM changes after revision `f3598e8fca83ccfb11f58ec7957c229e349765e3` and before the relicensing on 2019-01-19 reveals 41 changes all of which LLVM has relicensing agreements with their authors.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# `rustc_apfloat` (Rust port of C++ `llvm::APFloat` library)
22

3-
## Licensing
4-
5-
This project is licensed under the [Apache 2] with [LLVM exception] license.
6-
For a more complete discussion of this project's licensing, see [LICENSE-DETAILS.md](./LICENSE-DETAILS.md).
7-
8-
[Apache 2]: https://spdx.org/licenses/Apache-2.0.html
9-
[LLVM Exception]: https://spdx.org/licenses/LLVM-exception.html
10-
113
## 🚧 Work In Progress 🚧
124

135
**NOTE**: the repo (and [`rustc_apfloat-git-history-extraction`](https://github.com/LykenSol/rustc_apfloat-git-history-extraction)) might be public already, but only for convenience of discussion, see [relevant Zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/231349-t-core.2Flicensing/topic/apfloat) for more details.
@@ -55,3 +47,11 @@ To visualize the fuzzing testcases, you can use the `decode` subcommand:
5547
cargo run -p rustc_apfloat-fuzz decode fuzz/out-foo/default/crashes/*
5648
```
5749
(this will work even while `cargo afl fuzz`, i.e. AFL++, is running)
50+
51+
## Licensing
52+
53+
This project is licensed under the [Apache 2] with [LLVM exception] license.
54+
For a more complete discussion of this project's licensing, see [LICENSE-DETAILS.md](./LICENSE-DETAILS.md).
55+
56+
[Apache 2]: https://spdx.org/licenses/Apache-2.0.html
57+
[LLVM Exception]: https://spdx.org/licenses/LLVM-exception.html

0 commit comments

Comments
 (0)