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

Weird cfgs in VxWorks module #1469

Closed
newpavlov opened this issue Aug 14, 2019 · 2 comments
Closed

Weird cfgs in VxWorks module #1469

newpavlov opened this issue Aug 14, 2019 · 2 comments

Comments

@newpavlov
Copy link
Contributor

newpavlov commented Aug 14, 2019

VxWorks module contains weird, always false cfgs, which look like a copypaste leftovers:

libc/src/vxworks/mod.rs

Lines 966 to 970 in d7907c0

#[cfg_attr(
all(target_os = "macos", target_arch = "x86"),
link_name = "fopen$UNIX2003"
)]
pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE;

@BaoshanPang
Copy link
Contributor

@newpavlov

Thanks for pointing it out, I will work on it.

bors added a commit that referenced this issue 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 added a commit that referenced this issue 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
@newpavlov
Copy link
Contributor Author

Fixed in #1473

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

No branches or pull requests

2 participants