-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn #64129
Conversation
sync with rust-lang/rust
… initial stack size to rtpSpawn
vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn
@@ -1,10 +1,13 @@ | |||
// Copyright (c) 2019 Wind River Systems, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intent is "the usual Rust license", i.e. Wind River is not claiming any proprietary rights here. But I'm not a lawyer, let me check with someone who can give a better answer and get back to you.
Looks good to me, thanks @BaoshanPang! Sorry I wasn't super vigilant earlier about this, so |
@alexcrichton Thanks for the feedback. I've asked our IP expert whether we can remove these copyright notices for submissions to the Rust project, and will get back to you with an answer ASAP. |
First, let's distinguish between the copyright notice, e.g:
and the license, e.g.:
Bearing that distinction in mind, here's the feedback from our IP expert (who oversees Wind River contributions to a number of open source projects). He made the following very good point:
and requested the following:
Are you ok with this wording? The license text above makes it explicit that this file follows the standard Rust licensing policy. Note that there are a number of existing files in the Rust project that also include explicit 3rd party copyright notices, e.g.: https://github.com/rust-lang/rust/blob/master/src/libstd/sys/unix/memchr.rs In addition the existing Rust Copyright policy (https://github.com/rust-lang/rust/blob/master/COPYRIGHT) policy appears to cover and allow this standard case:
|
I do not personally have thoughts on this, I will forward this to others who can take care of this. |
Ok, I'm going to transfer review to... r? @skade |
We've really appreciated the rapid pace at our contributions have been reviewed and accepted up to now, and want to avoid introducing any road blocks. With the agreement of our IP guy, we've decided to split this into two PRs, one for the "content", and another for the proposed copyright notice. (1) We'll remove the Wind River copyright notices from this PR, as well as src/libstd/sys/vxworks/fast_thread_local.rs and any other existing affected files. Hopefully that will allow this PR to get back on track. (2) We'll create a separate PR to propose copyright/license notices for a few of the WR added files that we think need them. Any discussion around such notices can occur in that PR, without any pressure to "hurry". Sound good? |
@n-salim sounds like a good plan to me! |
@n-salim Also sounds great from me, please ping me on the next PR and I'm pretty sure we will get that through quickly! |
remove Copyright notic
Hi All, The Wind River copyritht notices have been removed. Thanks, |
@bors: r+ |
📌 Commit 665291c has been approved by |
vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn r? @alexcrichton cc @n-salim
Rollup of 6 pull requests Successful merges: - #64060 (Improve hygiene of `alloc::format!`) - #64072 (Replace file_stem by file_name in rustdoc markdown) - #64085 (Tweak unsatisfied HRTB errors) - #64129 (vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn) - #64188 (rustc: Allow the cdylib crate type with wasm32-wasi) - #64349 (documentation for AtomicPtr CAS operations) Failed merges: r? @ghost
vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn r? @alexcrichton cc @n-salim
Rollup of 6 pull requests Successful merges: - #64060 (Improve hygiene of `alloc::format!`) - #64072 (Replace file_stem by file_name in rustdoc markdown) - #64129 (vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn) - #64188 (rustc: Allow the cdylib crate type with wasm32-wasi) - #64326 (Fixed documentation within c_str::from_ptr) - #64349 (documentation for AtomicPtr CAS operations) Failed merges: r? @ghost
vxWorks: set DEFAULT_MIN_STACK_SIZE to 256K and use min_stack to pass initial stack size to rtpSpawn
r? @alexcrichton
cc @n-salim