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

Update toolchain to 2021-06-15 #46

Merged
merged 3 commits into from
Oct 28, 2021
Merged

Update toolchain to 2021-06-15 #46

merged 3 commits into from
Oct 28, 2021

Conversation

crawfxrd
Copy link
Member

  • Update toolchain to 2021-06-15 (version used by Redox)
  • Update dependencies and fix build
  • Enable mem feature of compiler-builtins
  • Fix clippy warnings

@crawfxrd crawfxrd requested a review from jackpot51 October 24, 2021 03:25
@crawfxrd crawfxrd mentioned this pull request Oct 24, 2021
28 tasks
Update toolchain to match the version used in Redox.

Update dependencies and fix build.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Replace the deprecated rlibc library with the compiler-builtins
intrinsics. Requires a toolchain newer than 2020-09-30.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Fixes warnings:
- deprecated
- clippy::collapsible_else_if
- clippy::empty_loop
- clippy::needless_borrow

The change from `llvm_asm!()` to `asm!()` uses explicit operands to
indicate to Rust that these are memory addresses, allowing it to drop
the casts.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd merged commit 67ac2b1 into master Oct 28, 2021
@crawfxrd crawfxrd deleted the update-toolchain branch October 28, 2021 20:31
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