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
Recent versions of nightly now fail to build on some targets (e.g. xous) with the following error:
Compiling unwinding v0.2.2
error[E0787]: the `asm!` macro is not allowed in naked functions
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unwinding-0.2.2/src/unwinder/arch/riscv32.rs:197:9
|
197 | / asm!(
198 | | "
199 | | mv t0, sp
200 | | add sp, sp, -0x90
... |
212 | | options(noreturn)
213 | | );
| |_________^ consider using the `naked_asm!` macro instead
For more information about this error, try `rustc --explain E0787`.
error: could not compile `unwinding` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.
This issue is reported as nbdd0121/unwinding#38 and until this is merged and unwinding is updated to the new version, libstd will not be able to be built for riscv targets.
The text was updated successfully, but these errors were encountered:
xobs
changed the title
Rust nightly fails to build on riscv due to unwinding failure
Rust nightly fails to build on some target triples due to build failure in unwindingOct 12, 2024
saethlin
changed the title
Rust nightly fails to build on some target triples due to build failure in unwinding
Rust nightly fails to build on xous due to build failure in unwindingOct 12, 2024
This build failure is in fact specific to xous, because only xous uses this third-party crate.
saethlin
added
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
O-xous
OS: A microkernel OS for privacy in computing
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Oct 12, 2024
Recent versions of nightly now fail to build on some targets (e.g. xous) with the following error:
This issue is reported as nbdd0121/unwinding#38 and until this is merged and
unwinding
is updated to the new version, libstd will not be able to be built for riscv targets.The text was updated successfully, but these errors were encountered: