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

Rust version compatibility fix #184

Open
wants to merge 1 commit into
base: release/111
Choose a base branch
from

Conversation

andrewwhitehead
Copy link

@andrewwhitehead andrewwhitehead commented Mar 10, 2023

It seems that #180 is making use of [&OsStr]::join which was not available (broken?) until Rust 1.63: rust-lang/rust#96881

Related: #181

@andrewwhitehead
Copy link
Author

I'm not sure why the android builds are failing, unrelated?

@amousset
Copy link
Collaborator

You can comment out the android tests, the failures are unrelated.

@tsxiaofang
Copy link

[&OsStr]::join which was not available (broken?) until Rust 1.63, To be compatible with versions before 1.63, join(OsStr:: new ("")) cannot be used, instead with fold(OsString::new(), |mut acc, v|{acc.push(v); acc.push(OsStr::new(" ")); acc})

rbradford added a commit to rbradford/cloud-hypervisor that referenced this pull request Jun 6, 2023
This is required for openssl-src crate as it now uses functionality
first released in this version.

See: alexcrichton/openssl-src-rs#184

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
rbradford added a commit to cloud-hypervisor/cloud-hypervisor that referenced this pull request Jun 6, 2023
This is required for openssl-src crate as it now uses functionality
first released in this version.

See: alexcrichton/openssl-src-rs#184

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
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