Open
Description
Description
The Swift Std library fails to compile for RISCV64, with the error /workspaces/buildroot/output/build/swift-6.0.3/include/swift/ABI/Metadata.h:85:50: error: 'swift_context' parameter can only be used with swiftcall or swiftasynccall calling convention
Reproduction
Compile the Swift Std Library for riscv64-unknown-linux-gnu
. I have Buildroot scripts setup to cross compile, but it should be reproducible building on host as well.
Expected behavior
The Swift Std library should compile for RISCV64
Environment
Swift version 6.0.3 (swift-6.0.3-RELEASE)
Target: x86_64-unknown-linux-gnu