[rust-dev] Rust testsuite

Tim Chevalier catamorphism at gmail.com
Fri Oct 25 13:35:11 PDT 2013

Great! I'm not a licensing expert either, but the Rust testsuite (like
the rest of the compiler) is licensed under the following terms:

// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

I think if you read through that, as well as the COPYRIGHT file, it
should tell you whether it's ok to bundle the test suite in a GPL

In the worst case, you could just make a new git repository with
*just* the Rust testsuite (licensed under our license) and make it a
git submodule of your compiler.


On Fri, Oct 25, 2013 at 1:30 PM, Philip Herron <redbrain at gcc.gnu.org> wrote:
> Hey all,
> I stumbled across rust at pycon ie 2013 and i've been hooked on learning
> more about it since. And so i thought i would give a go at writing a
> compiler for it so i've got:
> https://github.com/redbrain/gccrs
> Its a rust front-end to GCC and it compiles hello-world so far after about a
> week and a bit of development. I think its a fun exercise i think rust would
> target well on gcc. But anyways i was wondering the testsuite i was hoping i
> could maybe copy it into my sources for my testsuite but not sure if there
> is some sort of license thing or something that might be bad or something.
> I mean tbh i dont really understand open source licenses even though gccrs
> is a toy its under the gplv3 does that mean i could copy your testsuite or
> not.
> Anyways i am really excited about rust i hope to find some way i can
> contribute back thanks.
> --Phil
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev

Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt
"Being queer is not about a right to privacy; it is about the freedom
to be public, to just be who we are." -- anonymous, June 1990

More information about the Rust-dev mailing list