diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2023-07-06 17:44:15 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2023-07-09 10:17:54 -0400 |
| commit | e1092eb4d123f568f2f51c8ff4da54d7be89dc0c (patch) | |
| tree | 4d8bcc9b7c90fcffbd9e5ecbcdea77de77d72b33 | |
| parent | c4e86b6c3be2699ce5147466c3f5aaf46a40c2b6 (diff) | |
| download | rust-e1092eb4d123f568f2f51c8ff4da54d7be89dc0c.tar.gz rust-e1092eb4d123f568f2f51c8ff4da54d7be89dc0c.zip | |
Add license explanations
| -rw-r--r-- | Readme.md | 6 |
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: |
