-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
It's probably really an upstream problem, but could be solved by patching the rust distribution (removing a test case) so that it doesn't fail and abort the build when testing the lint-docs component due to inline assembly not being supported on SPARC archictectures:
Building stage0 tool lint-docs (sparcv9-sun-solaris)
Finished release [optimized] target(s) in 1.55s
warning: the code example in lint `named_asm_labels` in /scratch/clone/components/rust/rustc/rustc-1.60.0-src/compiler/rustc_lint/src/builtin.rs failed to generate the expected output: did not find lint `named_asm_labels` in output of example, got:
error[E0472]: inline assembly is unsupported on this target
--> lint_example.rs:5:9
|
5 | asm!("foo: bar");
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error
Rustbook (sparcv9-sun-solaris) - rustc
The easy workaround is to build with -i make option and ignore the failure.
Metadata
Metadata
Assignees
Labels
No labels