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

Fix compile error for riscv64-linux-android #3064

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

colincross
Copy link
Contributor

Fixes:
error[E0369]: cannot subtract char from char
--> prebuilts/rust/linux-x86/1.64.0/src/stdlibs/vendor/libc/src/unix/linux_like/android/b64/riscv64/mod.rs:63:53
|
63 | pub const COMPAT_HWCAP_ISA_I: ::c_ulong = 1 << ('I' - 'A');
| --- ^ --- char
| |
| char

Fixes:
error[E0369]: cannot subtract `char` from `char`
  --> prebuilts/rust/linux-x86/1.64.0/src/stdlibs/vendor/libc/src/unix/linux_like/android/b64/riscv64/mod.rs:63:53
   |
63 | pub const COMPAT_HWCAP_ISA_I: ::c_ulong = 1 << ('I' - 'A');
   |                                                 --- ^ --- char
   |                                                 |
   |                                                 char
@rustbot
Copy link
Collaborator

rustbot commented Jan 11, 2023

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

Thank you for fixing it! @bors r+

@bors
Copy link
Contributor

bors commented Jan 11, 2023

📌 Commit a7f9d0a has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jan 11, 2023

⌛ Testing commit a7f9d0a with merge cfd932d...

@bors
Copy link
Contributor

bors commented Jan 11, 2023

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing cfd932d to master...

@bors bors merged commit cfd932d into rust-lang:master Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants