about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2023-07-06 17:44:15 -0400
committerAntoni Boucher <bouanto@zoho.com>2023-07-09 10:17:54 -0400
commite1092eb4d123f568f2f51c8ff4da54d7be89dc0c (patch)
tree4d8bcc9b7c90fcffbd9e5ecbcdea77de77d72b33
parentc4e86b6c3be2699ce5147466c3f5aaf46a40c2b6 (diff)
downloadrust-e1092eb4d123f568f2f51c8ff4da54d7be89dc0c.tar.gz
rust-e1092eb4d123f568f2f51c8ff4da54d7be89dc0c.zip
Add license explanations
-rw-r--r--Readme.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index c58662b9ce5..e05f8dae1c6 100644
--- a/Readme.md
+++ b/Readme.md
@@ -105,6 +105,12 @@ $ rustc +$(cat $cg_gccjit_dir/rust-toolchain) -Cpanic=abort -Zcodegen-backend=$c
     <dd>Display the time it took to perform codegen for a crate</dd>
 </dl>
 
+## Licensing
+
+While this crate is licensed under a dual Apache/MIT license, it links to `libgccjit` which is under the GPLv3+ and thus, the resulting toolchain (rustc + GCC codegen) will need to be released under the GPL license.
+
+However, programs compiled with `rustc_codegen_gcc` do not need to be released under a GPL license.
+
 ## Debugging
 
 Sometimes, libgccjit will crash and output an error like this: