Skip to content

Supprt VxWorks#920

Open
BaoshanPang wants to merge 2 commits into
briansmith:masterfrom
Wind-River:master
Open

Supprt VxWorks#920
BaoshanPang wants to merge 2 commits into
briansmith:masterfrom
Wind-River:master

Conversation

@BaoshanPang
Copy link
Copy Markdown

No description provided.

@BaoshanPang
Copy link
Copy Markdown
Author

BaoshanPang commented Dec 11, 2019

These test failures seem not related to my change.

Comment thread src/rand.rs
}
}

#[cfg(target_os = "vxworks")]
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The supporting for VxWorks have been added in crate getrandom. The code here is copied from https://github.com/rust-random/getrandom/blob/master/src/vxworks.rs.

@briansmith
Copy link
Copy Markdown
Owner

Because we switched to using getrandom, it is now very easy to add vxworks support. Just add it to the list of supported operating systems in rand.rs and Cargo.toml.

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.

3 participants