Skip to content

Some update for vxWorks#1473

Merged
bors merged 4 commits into
rust-lang:masterfrom
Wind-River:master
Aug 20, 2019
Merged

Some update for vxWorks#1473
bors merged 4 commits into
rust-lang:masterfrom
Wind-River:master

Conversation

@BaoshanPang

Copy link
Copy Markdown
Contributor

This is to address issues:
#1469 and rust-random/getrandom#86 (comment)

What have been changed in this PR:

  1. adding randBytes(), randABytes(), randUBytes(), randSecure() and taskDelay()
  2. change armv7-wrs-vxworks to armv7-wrs-vxworks-eabihf
  3. code cleanup

bpangWR and others added 2 commits August 15, 2019 11:03
…askDelay()

2. change armv7-wrs-vxworks to armv7-wrs-vxworks-eabihf
3. code cleanup
code cleanup and adding randBytes() etc
@rust-highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@n-salim

n-salim commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

Adding to @BaoshanPang 's overview of the changes:

  1. Fix padding in definition of sockaddr_storage struct

@n-salim

n-salim commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

OK I think we kicked this off a tad too early. The rust-lang.libc test failed because we haven't yet picked up our compiler changes from

rust-lang/rust#63604

Comment thread src/vxworks/mod.rs Outdated
all(target_os = "macos", target_arch = "x86"),
link_name = "munmap$UNIX2003"
)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spurious extra line ?

Comment thread src/vxworks/mod.rs Outdated
pub fn localtime(time_p: *const time_t) -> *mut tm;
*/
#[cfg_attr(target_os = "netbsd", link_name = "__difftime50")]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spurious extra line ?

@gnzlbg gnzlbg closed this Aug 16, 2019
@gnzlbg gnzlbg reopened this Aug 16, 2019
@BaoshanPang

Copy link
Copy Markdown
Contributor Author

The error here seems nothing to do with my change:

https://github.com/rust-lang/libc/pull/1473/checks?check_run_id=196203151

@gnzlbg

gnzlbg commented Aug 19, 2019

Copy link
Copy Markdown
Contributor

@bors: r+

@bors

bors commented Aug 19, 2019

Copy link
Copy Markdown
Contributor

📌 Commit e43e863 has been approved by gnzlbg

bors added a commit that referenced this pull request Aug 19, 2019
Some update for vxWorks

This is to address issues:
#1469 and rust-random/getrandom#86 (comment)

What have been changed in this PR:

 1. adding randBytes(), randABytes(), randUBytes(), randSecure() and taskDelay()
 2. change armv7-wrs-vxworks to armv7-wrs-vxworks-eabihf
 3. code cleanup
@bors

bors commented Aug 19, 2019

Copy link
Copy Markdown
Contributor

⌛ Testing commit e43e863 with merge 37f676f...

@BaoshanPang

Copy link
Copy Markdown
Contributor Author

@gnzlbg

Is this a known issue? I see the test is still failing on the same issue.

@bors

bors commented Aug 19, 2019

Copy link
Copy Markdown
Contributor

💥 Test timed out

@BaoshanPang

Copy link
Copy Markdown
Contributor Author

@gnzlbg

Is this a known issue? I see the test is still failing on the same issue.

It looks like we are using newer version bootstrap compiler which have more strict warning/error level.

@gnzlbg

gnzlbg commented Aug 20, 2019

Copy link
Copy Markdown
Contributor

@bors: retry

@bors

bors commented Aug 20, 2019

Copy link
Copy Markdown
Contributor

⌛ Testing commit e43e863 with merge afcb42e...

bors added a commit that referenced this pull request Aug 20, 2019
Some update for vxWorks

This is to address issues:
#1469 and rust-random/getrandom#86 (comment)

What have been changed in this PR:

 1. adding randBytes(), randABytes(), randUBytes(), randSecure() and taskDelay()
 2. change armv7-wrs-vxworks to armv7-wrs-vxworks-eabihf
 3. code cleanup
@bors

bors commented Aug 20, 2019

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure
Approved by: gnzlbg
Pushing afcb42e to master...

@bors bors merged commit e43e863 into rust-lang:master Aug 20, 2019
@BaoshanPang

Copy link
Copy Markdown
Contributor Author

@gnzlbg
Thanks!

@newpavlov

Copy link
Copy Markdown
Contributor

@gnzlbg
Any ETA on when this PR will be published on crates.io? We would like to use it for rust-random/getrandom#86.

@gnzlbg

gnzlbg commented Aug 28, 2019

Copy link
Copy Markdown
Contributor

Probably some time after rust-lang/rust#63806 lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants