apple / swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
https://apple.github.io/swift-crypto
Apache License 2.0
1.47k stars 166 forks source link

add support for riscv64 #240

Closed futurejones closed 5 months ago

futurejones commented 5 months ago

Add support for riscv64 as host architecture.

Checklist

If you've made changes to gyb files

Motivation:

Enable the Swift toolchain to build and run on RISC-V 64 host.

Modifications:

Add support for riscv64 as host architecture to cmake/modules/SwiftSupport.cmake

Result:

riscv64 is now recognized as a valid host architecture.

Lukasa commented 5 months ago

@swift-server-bot test this please