Technically, there are requirements imposed by the LLVM `AMDGPUTargetMachine` on functions with this ABI (eg, the return type must be void), but I'm unsure exactly where this should be enforced.
11 lines
522 B
Text
11 lines
522 B
Text
error[E0703]: invalid ABI: found `路濫狼á́́`
|
|
--> $DIR/unicode.rs:11:8
|
|
|
|
|
LL | extern "路濫狼á́́" fn foo() {} //~ ERROR invalid ABI
|
|
| ^^^^^^^^^ invalid ABI
|
|
|
|
|
= help: valid ABIs: cdecl, stdcall, fastcall, vectorcall, thiscall, aapcs, win64, sysv64, ptx-kernel, msp430-interrupt, x86-interrupt, amdgpu-kernel, Rust, C, system, rust-intrinsic, rust-call, platform-intrinsic, unadjusted
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0703`.
|