You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The files src/libstd/sync/mpsc/spsc_queue.rs and src/libstd/sync/mpsc/spsc_queue.rs was originally added a long time ago in #10080, and the first line is Copyright (c) 2010-2011 Dmitry Vyukov. All rights reserved. (explained in #9710). These files are only licensed under the BSD 2-Clause license.
The file doesn't contain the usual Copyright The Rust Developers, although the team is a co-author.
Does the second clause means, that rustc should print the whole BSD license just for these? (Or I'm misinterpreting it?)
Is it an issue at all? (I'm not that familiar with distributing and licensing software.) If it is, can we do something about it?
Thanks for looking into this issue!
The code comes from #9710, from the first comment:
I included the license Dmitry asked me to use when I implemented a C++11 version of this queue a while ago. If the license is an issue, I suggest reaching out to Dmitry.
So I guess it's worth asking him, he's active on Github.
@dvyukov with all due respect, can you help us resolve this issue? The real issue is that the code in question has a different license than the rest of the codebase (although the Apache2/MIT dual license is very similar to the BSD license).
I think it is not a problem that these files are BSD licensed - rust carries a bunch of licenses, including BSD, but it wouldn't hurt to relicense them.
Well, actually, if this is the only BSD code in std (I don't know if that's the case), then removing the BSD license would reduce the burden on those redistributing std.
Activity
Mark-Simulacrum commentedon May 13, 2017
cc @brson because this is a licensing question
aturon commentedon May 17, 2017
cc @rust-lang/core
alexcrichton commentedon May 17, 2017
I believe we just need to add this to the COPYRIGHT file in the root of the repository, and that should do the trick! (this is similar to jemalloc)
pmarcelll commentedon May 17, 2017
Thanks for looking into this issue!
The code comes from #9710, from the first comment:
So I guess it's worth asking him, he's active on Github.
@dvyukov with all due respect, can you help us resolve this issue? The real issue is that the code in question has a different license than the rest of the codebase (although the Apache2/MIT dual license is very similar to the BSD license).
libstd/sync/mpsc: relicense under rust license
brson commentedon May 22, 2017
I think it is not a problem that these files are BSD licensed - rust carries a bunch of licenses, including BSD, but it wouldn't hurt to relicense them.
Well, actually, if this is the only BSD code in std (I don't know if that's the case), then removing the BSD license would reduce the burden on those redistributing std.
Rollup merge of rust-lang#42149 - dvyukov:license, r=brson
Rollup merge of rust-lang#42149 - dvyukov:license, r=brson
Rollup merge of rust-lang#42149 - dvyukov:license, r=brson
Rollup merge of rust-lang#42149 - dvyukov:license, r=brson
Rollup merge of rust-lang#42149 - dvyukov:license, r=brson
Rollup merge of rust-lang#42149 - dvyukov:license, r=brson