Skip to content
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

Some update for vxWorks #1473

Merged
merged 4 commits into from
Aug 20, 2019
Merged

Some update for vxWorks #1473

merged 4 commits into from
Aug 20, 2019

Conversation

BaoshanPang
Copy link
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

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
Copy link
Contributor

n-salim commented Aug 15, 2019

Adding to @BaoshanPang 's overview of the changes:

  1. Fix padding in definition of sockaddr_storage struct

@n-salim
Copy link
Contributor

n-salim commented Aug 15, 2019

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

all(target_os = "macos", target_arch = "x86"),
link_name = "munmap$UNIX2003"
)]

Copy link
Contributor

Choose a reason for hiding this comment

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

spurious extra line ?

pub fn localtime(time_p: *const time_t) -> *mut tm;
*/
#[cfg_attr(target_os = "netbsd", link_name = "__difftime50")]

Copy link
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
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
Copy link
Contributor

gnzlbg commented Aug 19, 2019

@bors: r+

@bors
Copy link
Contributor

bors commented Aug 19, 2019

📌 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
Copy link
Contributor

bors commented Aug 19, 2019

⌛ Testing commit e43e863 with merge 37f676f...

@BaoshanPang
Copy link
Contributor Author

@gnzlbg

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

@bors
Copy link
Contributor

bors commented Aug 19, 2019

💥 Test timed out

@BaoshanPang
Copy link
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
Copy link
Contributor

gnzlbg commented Aug 20, 2019

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 20, 2019

⌛ 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
Copy link
Contributor

bors commented Aug 20, 2019

☀️ 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
Contributor Author

@gnzlbg
Thanks!

@newpavlov
Copy link
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
Copy link
Contributor

gnzlbg commented Aug 28, 2019

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