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

build: Update toolchain to nightly-2024-05-13 #335

Merged
merged 12 commits into from
May 20, 2024

Conversation

retrage
Copy link
Contributor

@retrage retrage commented May 19, 2024

This PR updates the Rust toolchain to nightly-2024-05-13 with fixing several build errors/warnings.

retrage added 12 commits May 20, 2024 12:50
Rust 2024 edition disallows references to `static mut`. Instead, we
should wrap `static mut` with `SyncUnsafeCell`.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Use of the unsafe functions can be replaced by `Default::default()`.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
The `next_cluster()` reports incorrect cluster value in release build
due to optimization. This commit fixes the issue by replacing use of
unsafe functions.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
With this update, some of the target json definitions need to be
updated, and some experimental functions are updated.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
Signed-off-by: Akira Moroo <retrage01@gmail.com>
@retrage retrage force-pushed the 2024-05-15-update-toolchain branch from 1aef8fd to fa13c03 Compare May 20, 2024 13:04
@retrage retrage marked this pull request as ready for review May 20, 2024 13:04
@retrage retrage requested a review from rbradford May 20, 2024 13:04
@retrage retrage changed the title [WIP] build: Update toolchain to nightly-2024-05-13 build: Update toolchain to nightly-2024-05-13 May 20, 2024
Copy link
Member

@rbradford rbradford left a comment

Choose a reason for hiding this comment

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

Great work! Thank you very much. 🚀

@retrage retrage added this pull request to the merge queue May 20, 2024
Merged via the queue into cloud-hypervisor:main with commit 085105c May 20, 2024
8 checks passed
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.

2 participants