You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest master: 4104596 gives error when trying to build std for x86_64-unknown-uefi
The error I get is the following:
error: `sys_common::condvar::Condvar::new` is not yet stable as a const fn
--> /var/home/ayush/Documents/Programming/Rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/src/rust/library/std/src/sync/condvar.rs:129:26
|
129 | Condvar { inner: sys::Condvar::new() }
| ^^^^^^^^^^^^^^^^^^^
|
= help: const-stable functions can only call other const-stable functions
error: `sys_common::mutex::MovableMutex::new` is not yet stable as a const fn
--> /var/home/ayush/Documents/Programming/Rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/src/rust/library/std/src/sync/mutex.rs:220:20
|
220 | inner: sys::MovableMutex::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: const-stable functions can only call other const-stable functions
error: `sys_common::rwlock::MovableRwLock::new` is not yet stable as a const fn
--> /var/home/ayush/Documents/Programming/Rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/src/rust/library/std/src/sync/rwlock.rs:153:20
|
153 | inner: sys::MovableRwLock::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: const-stable functions can only call other const-stable functions
error: could not compile `std` due to 3 previous errors
I am currently working on porting Rust std to UEFI. Previously was using a week-old master and decided to rebase today. However, not sure how to fix this error which showed up after rebase.
After looking at previous commits, the culprit seems to be edae495
The text was updated successfully, but these errors were encountered:
Ayush1325
changed the title
Latest master gives error with build-std
Latest master gives error when building std for x86_64-unknown-uefi
Jun 20, 2022
Ayush1325
changed the title
Latest master gives error when building std for x86_64-unknown-uefi
Latest master gives error when building std for unsupported
Jun 20, 2022
The latest master: 4104596 gives error when trying to build std for
x86_64-unknown-uefi
The error I get is the following:
I am currently working on porting Rust std to UEFI. Previously was using a week-old master and decided to rebase today. However, not sure how to fix this error which showed up after rebase.
After looking at previous commits, the culprit seems to be edae495
The text was updated successfully, but these errors were encountered: